Merge branch 'for-linus-update' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / kernel / futex.c
index 815d7af..f3a3a07 100644 (file)
@@ -343,6 +343,8 @@ static void get_futex_key_refs(union futex_key *key)
        case FUT_OFF_MMSHARED:
                futex_get_mm(key); /* implies MB (B) */
                break;
+       default:
+               smp_mb(); /* explicit MB (B) */
        }
 }