[PATCH] ARM SMP: Add ARMv6 memory barriers
commit6d9b37a3a80195d317887ff81aad6a58a66954b5
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 26 Jul 2005 18:44:26 +0000 (26 19:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 26 Jul 2005 18:44:26 +0000 (26 19:44 +0100)
tree98d1c96416b660070b1fd37dbbc0c80d39c55b98
parent9560782f9a68a5de3e72bc3ba71317f373844549
[PATCH] ARM SMP: Add ARMv6 memory barriers

Convert explicit gcc asm-based memory barriers into smp_mb() calls.
These change between barrier() and the ARMv6 data memory barrier
instruction depending on whether ARMv6 SMP is enabled.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/bitops.h
include/asm-arm/locks.h
include/asm-arm/spinlock.h
include/asm-arm/system.h