summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/commontypes.h
diff options
context:
space:
mode:
authorBenjamin Romer2014-08-03 04:03:38 +0200
committerGreg Kroah-Hartman2014-08-16 21:23:06 +0200
commite87cfde4a1e93aa0f0efc5ad7955500c2246f29b (patch)
tree838318f9744efe13e38d537054b622322b1c3647 /drivers/staging/unisys/include/commontypes.h
parentstaging: unisys: remove MEMCPY functions from commontypes.h (diff)
downloadkernel-qcow2-linux-e87cfde4a1e93aa0f0efc5ad7955500c2246f29b.tar.gz
kernel-qcow2-linux-e87cfde4a1e93aa0f0efc5ad7955500c2246f29b.tar.xz
kernel-qcow2-linux-e87cfde4a1e93aa0f0efc5ad7955500c2246f29b.zip
staging: unisys: remove MEMORYBARRIER AND VolatileBarrier from commontypes
Remove the MEMORYBARRIER and VolatileBarrier() defines from commontypes.h and convert the spots that used this to mb(). Add comments to each use to indicate that the barrier is used to ensure channel synchronization between guests. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/include/commontypes.h')
-rw-r--r--drivers/staging/unisys/include/commontypes.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/unisys/include/commontypes.h b/drivers/staging/unisys/include/commontypes.h
index 53ac77053340..34b31ad7b934 100644
--- a/drivers/staging/unisys/include/commontypes.h
+++ b/drivers/staging/unisys/include/commontypes.h
@@ -30,8 +30,6 @@ typedef u64 GUEST_PHYSICAL_ADDRESS;
#define INLINE inline
#define OFFSETOF offsetof
-#define MEMORYBARRIER mb()
-
#define CHANNEL_GUID_MISMATCH(chType, chName, field, expected, actual, fil, \
lin, logCtx) \
do { \
@@ -63,7 +61,5 @@ typedef u64 GUEST_PHYSICAL_ADDRESS;
LineNumber, Str, args...) \
pr_info(Str, ## args)
-#define VolatileBarrier() MEMORYBARRIER
-
#endif