staging: unisys: remove MEMORYBARRIER AND VolatileBarrier from commontypes
commite87cfde4a1e93aa0f0efc5ad7955500c2246f29b
authorBenjamin Romer <benjamin.romer@unisys.com>
Sun, 3 Aug 2014 02:03:38 +0000 (2 22:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:06 +0000 (16 12:23 -0700)
tree838318f9744efe13e38d537054b622322b1c3647
parent2e20c4a7c8179d3216eaf03c3c8fa8badfb35290
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>
drivers/staging/unisys/channels/channel.c
drivers/staging/unisys/common-spar/include/channels/channel.h
drivers/staging/unisys/include/commontypes.h
drivers/staging/unisys/visorchannel/visorchannel_funcs.c