From 147a4b4d9928cc0cedea34978dbdc808d18ef251 Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Mon, 6 Jun 2011 15:49:51 -0700 Subject: [PATCH] --- yaml --- r: 259459 b: refs/heads/master c: ef0d5b23022e207e9f367de52f4172daab3ac690 h: refs/heads/master i: 259457: 176329bbeafebf706fc6dc77fb452a92dc24a5e9 259455: b68c309c7bec3b865b861257436f40eaafd96a2a 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 ba6a7fdd256e..dbd1872f3dea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ac4accb2bd619380c2404f9064e91f48674c6eb8 +refs/heads/master: ef0d5b23022e207e9f367de52f4172daab3ac690 diff --git a/trunk/drivers/staging/hv/ring_buffer.c b/trunk/drivers/staging/hv/ring_buffer.c index 3da333018b5a..932af1a01a1e 100644 --- a/trunk/drivers/staging/hv/ring_buffer.c +++ b/trunk/drivers/staging/hv/ring_buffer.c @@ -513,7 +513,7 @@ int hv_ringbuffer_read(struct hv_ring_buffer_info *inring_info, void *buffer, /* Make sure all reads are done before we update the read index since */ /* the writer may start writing to the read area once the read index */ /*is updated */ - mb(); + smp_mb(); /* Update the read index */ hv_set_next_read_location(inring_info, next_read_location);