]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/misc/sgi-xp/xpc_uv.c
sgi-xpc: ensure flags are updated before bte_copy
[net-next-2.6.git] / drivers / misc / sgi-xp / xpc_uv.c
index 91a55b1b1037011c5e403b19dac8c710d18632d5..f17f7d40ea2c686789e3a80f7da975499a5c05c8 100644 (file)
@@ -1423,7 +1423,7 @@ xpc_send_payload_uv(struct xpc_channel *ch, u32 flags, void *payload,
                atomic_inc(&ch->n_to_notify);
 
                msg_slot->key = key;
-               wmb(); /* a non-NULL func must hit memory after the key */
+               smp_wmb(); /* a non-NULL func must hit memory after the key */
                msg_slot->func = func;
 
                if (ch->flags & XPC_C_DISCONNECTING) {