aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-01-29 18:14:46 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-29 18:20:22 -0500
commit4272ebfbefd0db40073f3ee5990bceaf2894f08b (patch)
treebe8bddaf6a5a549a9aa9108df3515741cc469199 /arch
parentfbeb2ca0224182033f196cf8f63989c3e6b90aba (diff)
x86: allow more than 8 cpus to be used on 32-bit
X86_PC is the only remaining 'sub' architecture, so we dont need it anymore. This also cleans up a few spurious references to X86_PC in the driver space - those certainly should be X86. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/Kconfig6
-rw-r--r--arch/x86/configs/i386_defconfig1
-rw-r--r--arch/x86/configs/x86_64_defconfig1
-rw-r--r--arch/x86/kernel/smpboot.c2
4 files changed, 2 insertions, 8 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 5bf0e0c58289..afaf2cb7c1ac 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -262,9 +262,6 @@ config X86_MPPARSE
262 For old smp systems that do not have proper acpi support. Newer systems 262 For old smp systems that do not have proper acpi support. Newer systems
263 (esp with 64bit cpus) with acpi support, MADT and DSDT will override it 263 (esp with 64bit cpus) with acpi support, MADT and DSDT will override it
264 264
265config X86_PC
266 def_bool y
267
268config X86_NON_STANDARD 265config X86_NON_STANDARD
269 bool "Support for non-standard x86 platforms" 266 bool "Support for non-standard x86 platforms"
270 help 267 help
@@ -1019,7 +1016,6 @@ config NUMA
1019 bool "Numa Memory Allocation and Scheduler Support" 1016 bool "Numa Memory Allocation and Scheduler Support"
1020 depends on SMP 1017 depends on SMP
1021 depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL) 1018 depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)
1022 default n if X86_PC
1023 default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP) 1019 default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP)
1024 help 1020 help
1025 Enable NUMA (Non Uniform Memory Access) support. 1021 Enable NUMA (Non Uniform Memory Access) support.
@@ -1122,7 +1118,7 @@ config ARCH_SPARSEMEM_DEFAULT
1122 1118
1123config ARCH_SPARSEMEM_ENABLE 1119config ARCH_SPARSEMEM_ENABLE
1124 def_bool y 1120 def_bool y
1125 depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC) || X86_32_NON_STANDARD 1121 depends on X86_64 || NUMA || (EXPERIMENTAL && X86_32) || X86_32_NON_STANDARD
1126 select SPARSEMEM_STATIC if X86_32 1122 select SPARSEMEM_STATIC if X86_32
1127 select SPARSEMEM_VMEMMAP_ENABLE if X86_64 1123 select SPARSEMEM_VMEMMAP_ENABLE if X86_64
1128 1124
diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig
index edba00d98ac3..739bce993b56 100644
--- a/arch/x86/configs/i386_defconfig
+++ b/arch/x86/configs/i386_defconfig
@@ -188,7 +188,6 @@ CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
188CONFIG_SMP=y 188CONFIG_SMP=y
189CONFIG_X86_FIND_SMP_CONFIG=y 189CONFIG_X86_FIND_SMP_CONFIG=y
190CONFIG_X86_MPPARSE=y 190CONFIG_X86_MPPARSE=y
191CONFIG_X86_PC=y
192# CONFIG_X86_ELAN is not set 191# CONFIG_X86_ELAN is not set
193# CONFIG_X86_VOYAGER is not set 192# CONFIG_X86_VOYAGER is not set
194# CONFIG_X86_GENERICARCH is not set 193# CONFIG_X86_GENERICARCH is not set
diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig
index 322dd2748fc9..02b514e8f4c4 100644
--- a/arch/x86/configs/x86_64_defconfig
+++ b/arch/x86/configs/x86_64_defconfig
@@ -187,7 +187,6 @@ CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
187CONFIG_SMP=y 187CONFIG_SMP=y
188CONFIG_X86_FIND_SMP_CONFIG=y 188CONFIG_X86_FIND_SMP_CONFIG=y
189CONFIG_X86_MPPARSE=y 189CONFIG_X86_MPPARSE=y
190CONFIG_X86_PC=y
191# CONFIG_X86_ELAN is not set 190# CONFIG_X86_ELAN is not set
192# CONFIG_X86_VOYAGER is not set 191# CONFIG_X86_VOYAGER is not set
193# CONFIG_X86_GENERICARCH is not set 192# CONFIG_X86_GENERICARCH is not set
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index fc80bc18943e..2912fa3a8ef2 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1000,7 +1000,7 @@ static int __init smp_sanity_check(unsigned max_cpus)
1000{ 1000{
1001 preempt_disable(); 1001 preempt_disable();
1002 1002
1003#if defined(CONFIG_X86_PC) && defined(CONFIG_X86_32) 1003#ifndef CONFIG_X86_BIGSMP
1004 if (def_to_bigsmp && nr_cpu_ids > 8) { 1004 if (def_to_bigsmp && nr_cpu_ids > 8) {
1005 unsigned int cpu; 1005 unsigned int cpu;
1006 unsigned nr; 1006 unsigned nr;