ARM: 6998/2: kernel: use proper memory barriers for bitops
authorHeechul Yun <heechul@illinois.edu>
Tue, 19 Jul 2011 12:26:54 +0000 (13:26 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 22 Jul 2011 09:16:27 +0000 (10:16 +0100)
commit4cde7e0dca98e0e93dceb174d83f766d0d637c23
tree6e88278817f2c77fec2c87d10177f827bf336ede
parent24daa15aabaf9ef655f7ca868366c8a4c87397f3
ARM: 6998/2: kernel: use proper memory barriers for bitops

Improve scalability by avoiding costly and unnecessary L2 cache sync
in handling bitops.

Signed-off-by: Heechul Yun <hyun@nvidia.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/bitops.h