Staging: hv: vmbus: Fix a memory barrier call in vmbus_drv.c
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 6 Jun 2011 22:50:03 +0000 (15:50 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:46:02 +0000 (13:46 -0700)
Use the correct memory barrier call in vmbus_drv.c

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c

index bc740307b6ded2788b8c76ec71f69afb7844ee63..921ca9aa38c657f346fc9c8de21dcfe2d03b595e 100644 (file)
@@ -455,7 +455,7 @@ static void vmbus_on_msg_dpc(unsigned long data)
                 * will not deliver any more messages since there is
                 * no empty slot
                 */
-               mb();
+               smp_mb();
 
                if (msg->header.message_flags.msg_pending) {
                        /*