arm: kconfig: add HAVE_SMP
Subsystems (4)
PATCH 1/1 arm: kconfig: add HAVE_SMP
This replaces the board listing for SMP with a HAVE_SMP config option which can be selected when the sub-architecture is selected.
Signed-off-by Daniel Walker <[email protected]>
--- arch/arm/Kconfig | 8 +++++--- arch/arm/mach-realview/Kconfig | 4 ++++ arch/arm/mach-vexpress/Kconfig | 1 + arch/arm/plat-omap/Kconfig | 1 + 4 files changed, 11 insertions(+), 3 deletions(-)
arch/arm/Kconfig +5 -3
@@ -748,6 +748,7 @@ config ARCH_U8500 select GENERIC_CLOCKEVENTS select COMMON_CLKDEV select ARCH_REQUIRE_GPIOLIB + select HAVE_SMP help Support for ST-Ericsson's Ux500 architecture
@@ -1095,11 +1096,12 @@ menu "Kernel Features" source "kernel/time/Kconfig" +config HAVE_SMP + bool + config SMP bool "Symmetric Multi-Processing (EXPERIMENTAL)" - depends on EXPERIMENTAL && (REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP ||\ - MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 ||\ - ARCH_U8500 || ARCH_VEXPRESS_CA9X4) + depends on EXPERIMENTAL && HAVE_SMP depends on GENERIC_CLOCKEVENTS select USE_GENERIC_SMP_HELPERS select HAVE_ARM_SCU if (ARCH_REALVIEW || ARCH_OMAP4 || ARCH_U8500 || ARCH_VEXPRESS_CA9X4)
arch/arm/mach-realview/Kconfig +4 -0
@@ -11,6 +11,7 @@ config REALVIEW_EB_A9MP bool "Support Multicore Cortex-A9" depends on MACH_REALVIEW_EB select CPU_V7 + select HAVE_SMP help Enable support for the Cortex-A9MPCore tile on the Realview platform.
@@ -18,6 +19,7 @@ config REALVIEW_EB_ARM11MP bool "Support ARM11MPCore tile" depends on MACH_REALVIEW_EB select CPU_V6 + select HAVE_SMP help Enable support for the ARM11MPCore tile on the Realview platform.
@@ -35,6 +37,7 @@ config MACH_REALVIEW_PB11MP select CPU_V6 select ARM_GIC select HAVE_PATA_PLATFORM + select HAVE_SMP help Include support for the ARM(R) RealView MPCore Platform Baseboard. PB11MPCore is a platform with an on-board ARM11MPCore and has
@@ -70,6 +73,7 @@ config MACH_REALVIEW_PBX bool "Support RealView/PBX platform" select ARM_GIC select HAVE_PATA_PLATFORM + select HAVE_SMP select ARCH_SPARSEMEM_ENABLE if CPU_V7 && !REALVIEW_HIGH_PHYS_OFFSET select ZONE_DMA if SPARSEMEM help
arch/arm/mach-vexpress/Kconfig +1 -0
@@ -5,5 +5,6 @@ config ARCH_VEXPRESS_CA9X4 bool "Versatile Express Cortex-A9x4 tile" select CPU_V7 select ARM_GIC + select HAVE_SMP endmenu
arch/arm/plat-omap/Kconfig +1 -0
@@ -38,6 +38,7 @@ config ARCH_OMAP4 depends on ARCH_OMAP2PLUS select CPU_V7 select ARM_GIC + select HAVE_SMP endchoice
Signature · 1 line
1.7.0.4