summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/Vmbus.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-16 19:34:20 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:48 (GMT)
commit28b6ca9c07787885b89972929f45084eb3197d98 (patch)
treea6b79999e6d0b1151e42efd1d6ff81f8c5a62b6a /drivers/staging/hv/Vmbus.c
parentb4362c9c1fe8bec487e275f92fdf57c585ac236a (diff)
downloadlinux-fsl-qoriq-28b6ca9c07787885b89972929f45084eb3197d98.tar.xz
Staging: hv: osd: remove MemoryFence wrapper
Use the "real" mb call instead of a wrapper function. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Vmbus.c')
-rw-r--r--drivers/staging/hv/Vmbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/Vmbus.c b/drivers/staging/hv/Vmbus.c
index 4ad40be..72bb08f 100644
--- a/drivers/staging/hv/Vmbus.c
+++ b/drivers/staging/hv/Vmbus.c
@@ -426,7 +426,7 @@ VmbusOnMsgDPC(
// Make sure the write to MessageType (ie set to HvMessageTypeNone) happens
// before we read the MessagePending and EOMing. Otherwise, the EOMing will not deliver
// any more messages since there is no empty slot
- MemoryFence();
+ mb();
if (msg->Header.MessageFlags.MessagePending)
{