[PATCH] use smp_mb/wmb/rmb where possible
[linux-3.10.git] / kernel / profile.c
index a38fa70075fe410941fc48dbdf6dcee5768fbf7b..a66be468c422ca8587af2be6401ac80de9fb48da 100644 (file)
@@ -522,7 +522,7 @@ static int __init create_hash_tables(void)
        return 0;
 out_cleanup:
        prof_on = 0;
-       mb();
+       smp_mb();
        on_each_cpu(profile_nop, NULL, 0, 1);
        for_each_online_cpu(cpu) {
                struct page *page;