Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yinghai Lu and committed by
Ingo Molnar
4272ebfb fbeb2ca0

+10 -16
+1 -5
arch/x86/Kconfig
··· 262 262 For old smp systems that do not have proper acpi support. Newer systems 263 263 (esp with 64bit cpus) with acpi support, MADT and DSDT will override it 264 264 265 - config X86_PC 266 - def_bool y 267 - 268 265 config X86_NON_STANDARD 269 266 bool "Support for non-standard x86 platforms" 270 267 help ··· 1016 1019 bool "Numa Memory Allocation and Scheduler Support" 1017 1020 depends on SMP 1018 1021 depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL) 1019 - default n if X86_PC 1020 1022 default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP) 1021 1023 help 1022 1024 Enable NUMA (Non Uniform Memory Access) support. ··· 1118 1122 1119 1123 config ARCH_SPARSEMEM_ENABLE 1120 1124 def_bool y 1121 - depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC) || X86_32_NON_STANDARD 1125 + depends on X86_64 || NUMA || (EXPERIMENTAL && X86_32) || X86_32_NON_STANDARD 1122 1126 select SPARSEMEM_STATIC if X86_32 1123 1127 select SPARSEMEM_VMEMMAP_ENABLE if X86_64 1124 1128
-1
arch/x86/configs/i386_defconfig
··· 188 188 CONFIG_SMP=y 189 189 CONFIG_X86_FIND_SMP_CONFIG=y 190 190 CONFIG_X86_MPPARSE=y 191 - CONFIG_X86_PC=y 192 191 # CONFIG_X86_ELAN is not set 193 192 # CONFIG_X86_VOYAGER is not set 194 193 # CONFIG_X86_GENERICARCH is not set
-1
arch/x86/configs/x86_64_defconfig
··· 187 187 CONFIG_SMP=y 188 188 CONFIG_X86_FIND_SMP_CONFIG=y 189 189 CONFIG_X86_MPPARSE=y 190 - CONFIG_X86_PC=y 191 190 # CONFIG_X86_ELAN is not set 192 191 # CONFIG_X86_VOYAGER is not set 193 192 # CONFIG_X86_GENERICARCH is not set
+1 -1
arch/x86/kernel/smpboot.c
··· 1000 1000 { 1001 1001 preempt_disable(); 1002 1002 1003 - #if defined(CONFIG_X86_PC) && defined(CONFIG_X86_32) 1003 + #ifndef CONFIG_X86_BIGSMP 1004 1004 if (def_to_bigsmp && nr_cpu_ids > 8) { 1005 1005 unsigned int cpu; 1006 1006 unsigned nr;
+3 -3
drivers/eisa/Kconfig
··· 3 3 # 4 4 config EISA_VLB_PRIMING 5 5 bool "Vesa Local Bus priming" 6 - depends on X86_PC && EISA 6 + depends on X86 && EISA 7 7 default n 8 8 ---help--- 9 9 Activate this option if your system contains a Vesa Local ··· 24 24 When in doubt, say Y. 25 25 26 26 # Using EISA_VIRTUAL_ROOT on something other than an Alpha or 27 - # an X86_PC may lead to crashes... 27 + # an X86 may lead to crashes... 28 28 29 29 config EISA_VIRTUAL_ROOT 30 30 bool "EISA virtual root device" 31 - depends on EISA && (ALPHA || X86_PC) 31 + depends on EISA && (ALPHA || X86) 32 32 default y 33 33 ---help--- 34 34 Activate this option if your system only have EISA bus
+2 -2
drivers/input/keyboard/Kconfig
··· 13 13 if INPUT_KEYBOARD 14 14 15 15 config KEYBOARD_ATKBD 16 - tristate "AT keyboard" if EMBEDDED || !X86_PC 16 + tristate "AT keyboard" if EMBEDDED || !X86 17 17 default y 18 18 select SERIO 19 19 select SERIO_LIBPS2 20 - select SERIO_I8042 if X86_PC 20 + select SERIO_I8042 if X86 21 21 select SERIO_GSCPS2 if GSC 22 22 help 23 23 Say Y here if you want to use a standard AT or PS/2 keyboard. Usually
+1 -1
drivers/input/mouse/Kconfig
··· 17 17 default y 18 18 select SERIO 19 19 select SERIO_LIBPS2 20 - select SERIO_I8042 if X86_PC 20 + select SERIO_I8042 if X86 21 21 select SERIO_GSCPS2 if GSC 22 22 help 23 23 Say Y here if you have a PS/2 mouse connected to your system. This
+1 -1
drivers/mtd/nand/Kconfig
··· 273 273 274 274 config MTD_NAND_CS553X 275 275 tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)" 276 - depends on X86_32 && (X86_PC || X86_32_NON_STANDARD) 276 + depends on X86_32 277 277 help 278 278 The CS553x companion chips for the AMD Geode processor 279 279 include NAND flash controllers with built-in hardware ECC
+1 -1
sound/drivers/Kconfig
··· 33 33 34 34 config SND_PCSP 35 35 tristate "PC-Speaker support (READ HELP!)" 36 - depends on PCSPKR_PLATFORM && X86_PC && HIGH_RES_TIMERS 36 + depends on PCSPKR_PLATFORM && X86 && HIGH_RES_TIMERS 37 37 depends on INPUT 38 38 depends on EXPERIMENTAL 39 39 select SND_PCM