mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 18:07:03 +00:00
ARM: 8582/1: remove unused CONFIG_ARCH_HAS_BARRIERS
Since commit 2b749cb3a5
("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>
This commit is contained in:
parent
215e362daf
commit
520319de0c
@ -44,9 +44,7 @@ extern void arm_heavy_mb(void);
|
|||||||
#define __arm_heavy_mb(x...) dsb(x)
|
#define __arm_heavy_mb(x...) dsb(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_HAS_BARRIERS
|
#if defined(CONFIG_ARM_DMA_MEM_BUFFERABLE) || defined(CONFIG_SMP)
|
||||||
#include <mach/barriers.h>
|
|
||||||
#elif defined(CONFIG_ARM_DMA_MEM_BUFFERABLE) || defined(CONFIG_SMP)
|
|
||||||
#define mb() __arm_heavy_mb()
|
#define mb() __arm_heavy_mb()
|
||||||
#define rmb() dsb()
|
#define rmb() dsb()
|
||||||
#define wmb() __arm_heavy_mb(st)
|
#define wmb() __arm_heavy_mb(st)
|
||||||
|
@ -1025,12 +1025,6 @@ config ARM_DMA_MEM_BUFFERABLE
|
|||||||
|
|
||||||
You are recommended say 'Y' here and debug any affected drivers.
|
You are recommended say 'Y' here and debug any affected drivers.
|
||||||
|
|
||||||
config ARCH_HAS_BARRIERS
|
|
||||||
bool
|
|
||||||
help
|
|
||||||
This option allows the use of custom mandatory barriers
|
|
||||||
included via the mach/barriers.h file.
|
|
||||||
|
|
||||||
config ARM_HEAVY_MB
|
config ARM_HEAVY_MB
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user