diff --git a/kernel/futex.c b/kernel/futex.c index d60b7f7a8cc3bdadaf4e8aab599a425261259767..a8302a1620ea4c29b3f127a5f3c67c3ef4ca8341 100644 --- a/kernel/futex.c +++ b/kernel/futex.c @@ -552,7 +552,7 @@ static void wake_futex(struct futex_q *q) * at the end of wake_up_all() does not prevent this store from * moving. */ - wmb(); + smp_wmb(); q->lock_ptr = NULL; }