diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/mach-realview/Kconfig | 2 | ||||
| -rw-r--r-- | arch/arm/mach-realview/include/mach/barriers.h | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/Kconfig b/arch/arm/mach-realview/Kconfig index ee5e392430e8..b4575ae9648e 100644 --- a/arch/arm/mach-realview/Kconfig +++ b/arch/arm/mach-realview/Kconfig | |||
| @@ -18,6 +18,7 @@ config REALVIEW_EB_ARM11MP | |||
| 18 | bool "Support ARM11MPCore tile" | 18 | bool "Support ARM11MPCore tile" |
| 19 | depends on MACH_REALVIEW_EB | 19 | depends on MACH_REALVIEW_EB |
| 20 | select CPU_V6 | 20 | select CPU_V6 |
| 21 | select ARCH_HAS_BARRIERS if SMP | ||
| 21 | help | 22 | help |
| 22 | Enable support for the ARM11MPCore tile on the Realview platform. | 23 | Enable support for the ARM11MPCore tile on the Realview platform. |
| 23 | 24 | ||
| @@ -35,6 +36,7 @@ config MACH_REALVIEW_PB11MP | |||
| 35 | select CPU_V6 | 36 | select CPU_V6 |
| 36 | select ARM_GIC | 37 | select ARM_GIC |
| 37 | select HAVE_PATA_PLATFORM | 38 | select HAVE_PATA_PLATFORM |
| 39 | select ARCH_HAS_BARRIERS if SMP | ||
| 38 | help | 40 | help |
| 39 | Include support for the ARM(R) RealView MPCore Platform Baseboard. | 41 | Include support for the ARM(R) RealView MPCore Platform Baseboard. |
| 40 | PB11MPCore is a platform with an on-board ARM11MPCore and has | 42 | PB11MPCore is a platform with an on-board ARM11MPCore and has |
diff --git a/arch/arm/mach-realview/include/mach/barriers.h b/arch/arm/mach-realview/include/mach/barriers.h new file mode 100644 index 000000000000..0c5d749d7b5f --- /dev/null +++ b/arch/arm/mach-realview/include/mach/barriers.h | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | /* | ||
| 2 | * Barriers redefined for RealView ARM11MPCore platforms with L220 cache | ||
| 3 | * controller to work around hardware errata causing the outer_sync() | ||
| 4 | * operation to deadlock the system. | ||
| 5 | */ | ||
| 6 | #define mb() dsb() | ||
| 7 | #define rmb() dmb() | ||
| 8 | #define wmb() mb() | ||
