From: Jason Wang Date: Tue, 18 Jun 2013 05:04:23 +0000 (+0800) Subject: drivers: hv: switch to use mb() instead of smp_mb() X-Git-Tag: v3.2.49~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4af376d04b03ff3ab2f27701bb183da6ee2aaff;p=pandora-kernel.git drivers: hv: switch to use mb() instead of smp_mb() 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 Cc: Haiyang Zhang Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman [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 --- Reading git-diff-tree failed