From: K. Y. Srinivasan Date: Mon, 6 Jun 2011 22:50:03 +0000 (-0700) Subject: Staging: hv: vmbus: Fix a memory barrier call in vmbus_drv.c X-Git-Tag: MMI-PSA29.97-13-9~18845^2~568^2~43 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e826f1d505d3a6bfc304addc7f83c7afcc31c830;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: hv: vmbus: Fix a memory barrier call in vmbus_drv.c Use the correct memory barrier call in vmbus_drv.c Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c index bc740307b6de..921ca9aa38c6 100644 --- a/drivers/staging/hv/vmbus_drv.c +++ b/drivers/staging/hv/vmbus_drv.c @@ -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) { /*