]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: v6k: only allow SMP if we have v6k or v7 CPU
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Jan 2011 18:01:58 +0000 (18:01 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Feb 2011 21:23:31 +0000 (21:23 +0000)
SMP extensions are only supported on ARMv6k or ARMv7 architectures, so
only offer the option if we're building for such an architecture.

Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig

index 27ec471fb5bbdd7b937c2fd5a634a821b3553550..d3f5674bece833bb83792f1cbcc419d25493d1af 100644 (file)
@@ -1251,6 +1251,7 @@ source "kernel/time/Kconfig"
 config SMP
        bool "Symmetric Multi-Processing (EXPERIMENTAL)"
        depends on EXPERIMENTAL
+       depends on CPU_V6K || CPU_V7
        depends on GENERIC_CLOCKEVENTS
        depends on REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP || \
                 MACH_REALVIEW_PB11MP || MACH_REALVIEW_PBX || ARCH_OMAP4 || \