Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 8582/1: remove unused CONFIG_ARCH_HAS_BARRIERS

Since commit 2b749cb3a515 ("ARM: realview: remove private barrier
implementation"), this config is not used by any platform.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Masahiro Yamada and committed by
Russell King
520319de 215e362d

+1 -9
+1 -3
arch/arm/include/asm/barrier.h
··· 44 44 #define __arm_heavy_mb(x...) dsb(x) 45 45 #endif 46 46 47 - #ifdef CONFIG_ARCH_HAS_BARRIERS 48 - #include <mach/barriers.h> 49 - #elif defined(CONFIG_ARM_DMA_MEM_BUFFERABLE) || defined(CONFIG_SMP) 47 + #if defined(CONFIG_ARM_DMA_MEM_BUFFERABLE) || defined(CONFIG_SMP) 50 48 #define mb() __arm_heavy_mb() 51 49 #define rmb() dsb() 52 50 #define wmb() __arm_heavy_mb(st)
-6
arch/arm/mm/Kconfig
··· 1025 1025 1026 1026 You are recommended say 'Y' here and debug any affected drivers. 1027 1027 1028 - config ARCH_HAS_BARRIERS 1029 - bool 1030 - help 1031 - This option allows the use of custom mandatory barriers 1032 - included via the mach/barriers.h file. 1033 - 1034 1028 config ARM_HEAVY_MB 1035 1029 bool 1036 1030