From 732306a0365d7f6e5f2b005efaaa87c4fc195847 Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Mon, 6 Jun 2011 15:49:53 -0700 Subject: [PATCH] --- yaml --- r: 259461 b: refs/heads/master c: e690b5a9be26965543b7252492ed22052af960b6 h: refs/heads/master i: 259459: 147a4b4d9928cc0cedea34978dbdc808d18ef251 v: v3 --- [refs] | 2 +- trunk/drivers/staging/hv/ring_buffer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0d621db9d86b..2ffc3cd0c0e0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: df2a4a711478f5fc28b3ac85f07e191591e31eb0 +refs/heads/master: e690b5a9be26965543b7252492ed22052af960b6 diff --git a/trunk/drivers/staging/hv/ring_buffer.c b/trunk/drivers/staging/hv/ring_buffer.c index 8b625533fe43..42f76728429a 100644 --- a/trunk/drivers/staging/hv/ring_buffer.c +++ b/trunk/drivers/staging/hv/ring_buffer.c @@ -413,7 +413,7 @@ int hv_ringbuffer_write(struct hv_ring_buffer_info *outring_info, sizeof(u64)); /* Make sure we flush all writes before updating the writeIndex */ - mb(); + smp_wmb(); /* Now, update the write location */ hv_set_next_write_location(outring_info, next_write_location);