]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/base/power/domain.c
arch: Mass conversion of smp_mb__*()
[mirror_ubuntu-artful-kernel.git] / drivers / base / power / domain.c
index ae098a261fcdb29262e778036ad5e9712841f221..eee55c1e5fde49310779c9fc4e15aa8ce5415114 100644 (file)
@@ -105,7 +105,7 @@ static bool genpd_sd_counter_dec(struct generic_pm_domain *genpd)
 static void genpd_sd_counter_inc(struct generic_pm_domain *genpd)
 {
        atomic_inc(&genpd->sd_count);
-       smp_mb__after_atomic_inc();
+       smp_mb__after_atomic();
 }
 
 static void genpd_acquire_lock(struct generic_pm_domain *genpd)