Ignore:
Timestamp:
Mar 15, 2017, 2:42:58 AM (8 days ago)
Author:
brainslayer
Message:

use new squashfs in all kernels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/misc/cxl/pci.c

    r31574 r31662  
    11301130                goto err2;
    11311131
     1132        atomic_set(&afu->configured_state, 0);
    11321133        return 0;
    11331134
     
    11421143static void pci_deconfigure_afu(struct cxl_afu *afu)
    11431144{
     1145        /*
     1146         * It's okay to deconfigure when AFU is already locked, otherwise wait
     1147         * until there are no readers
     1148         */
     1149        if (atomic_read(&afu->configured_state) != -1) {
     1150                while (atomic_cmpxchg(&afu->configured_state, 0, -1) != -1)
     1151                        schedule();
     1152        }
    11441153        cxl_native_release_psl_irq(afu);
    11451154        if (afu->adapter->native->sl_ops->release_serr_irq)
Note: See TracChangeset for help on using the changeset viewer.