On Wed, Apr 23, 2014 at 11:44:49AM +0800, Qiang Huang wrote:
> From: Jason Wang <[email protected]>
> 
> commit 35848f68b07df3f917cb13fc3c134718669f569b upstream.
> 
> Even if guest were compiled without SMP support, it could not assume that host
> wasn't. So switch to use mb() instead of smp_mb() to force memory barriers for
> UP guest.
> 
> Signed-off-by: Jason Wang <[email protected]>
> Cc: Haiyang Zhang <[email protected]>
> Signed-off-by: K. Y. Srinivasan <[email protected]>
> Signed-off-by: Greg Kroah-Hartman <[email protected]>
> [bwh: Backported to 3.2:
>  - Drop changes to functions that don't exist here
>  - hv_ringbuffer_write() has only a write memory barrier]
> Signed-off-by: Ben Hutchings <[email protected]>
> [hq: Backported to 3.4:
>  - Add the change in hv_ringbuffer_read]
> Signed-off-by: Qiang Huang <[email protected]>
> ---
>  drivers/hv/ring_buffer.c | 4 ++--
>  drivers/hv/vmbus_drv.c   | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to