]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/target/loopback/tcm_loop.c
arch: Mass conversion of smp_mb__*()
[mirror_ubuntu-artful-kernel.git] / drivers / target / loopback / tcm_loop.c
index c886ad1c39fb357ddb6e72a384474bdc89b01278..73ab75ddaf42e9b3fc8e378cf3ae3669d1e040e8 100644 (file)
@@ -951,7 +951,7 @@ static int tcm_loop_port_link(
        struct tcm_loop_hba *tl_hba = tl_tpg->tl_hba;
 
        atomic_inc(&tl_tpg->tl_tpg_port_count);
-       smp_mb__after_atomic_inc();
+       smp_mb__after_atomic();
        /*
         * Add Linux/SCSI struct scsi_device by HCTL
         */
@@ -986,7 +986,7 @@ static void tcm_loop_port_unlink(
        scsi_device_put(sd);
 
        atomic_dec(&tl_tpg->tl_tpg_port_count);
-       smp_mb__after_atomic_dec();
+       smp_mb__after_atomic();
 
        pr_debug("TCM_Loop_ConfigFS: Port Unlink Successful\n");
 }