diff options
author | Heechul Yun <hyun@nvidia.com> | 2012-02-28 11:53:27 +0530 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-01 12:56:50 +0200 |
commit | e61a177d302d1f886502508c6c793edd1a180b89 (patch) | |
tree | 87227796a9cf09a4dd8f88417eaf6393a16d9c22 /arch/arm/include/asm | |
parent | c91bac6f20556adc1f1bbf48aa3ebdbb76b85cef (diff) | |
download | kernel_samsung_tuna-e61a177d302d1f886502508c6c793edd1a180b89.zip kernel_samsung_tuna-e61a177d302d1f886502508c6c793edd1a180b89.tar.gz kernel_samsung_tuna-e61a177d302d1f886502508c6c793edd1a180b89.tar.bz2 |
ARM: 6998/2: kernel: use proper memory barriers for bitops
Improve scalability by avoiding costly and unnecessary L2 cache sync
in handling bitops.
Change-Id: If6b9f52edbb597e3298227a13ed4e6edc629bf11
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>
Signed-off-by: Maulik Mankad <maulik@ti.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/bitops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm/bitops.h index b4892a0..f428059 100644 --- a/arch/arm/include/asm/bitops.h +++ b/arch/arm/include/asm/bitops.h @@ -26,8 +26,8 @@ #include <linux/compiler.h> #include <asm/system.h> -#define smp_mb__before_clear_bit() mb() -#define smp_mb__after_clear_bit() mb() +#define smp_mb__before_clear_bit() smp_mb() +#define smp_mb__after_clear_bit() smp_mb() /* * These functions are the basis of our bit ops. |