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-Url: https://git.stricted.de/?a=commitdiff_plain;h=e826f1d505d3a6bfc304addc7f83c7afcc31c830;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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) { /*