Skip to content

Commit 4272ebf

Browse files
Yinghai LuIngo Molnar
authored andcommitted
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>
1 parent fbeb2ca commit 4272ebf

9 files changed

Lines changed: 10 additions & 16 deletions

File tree

‎arch/x86/Kconfig‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,6 @@ config X86_MPPARSE
262262
For old smp systems that do not have proper acpi support. Newer systems
263263
(esp with 64bit cpus) with acpi support, MADT and DSDT will override it
264264

265-
config X86_PC
266-
def_bool y
267-
268265
config X86_NON_STANDARD
269266
bool "Support for non-standard x86 platforms"
270267
help
@@ -1019,7 +1016,6 @@ config NUMA
10191016
bool "Numa Memory Allocation and Scheduler Support"
10201017
depends on SMP
10211018
depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)
1022-
default n if X86_PC
10231019
default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP)
10241020
help
10251021
Enable NUMA (Non Uniform Memory Access) support.
@@ -1122,7 +1118,7 @@ config ARCH_SPARSEMEM_DEFAULT
11221118

11231119
config ARCH_SPARSEMEM_ENABLE
11241120
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
11261122
select SPARSEMEM_STATIC if X86_32
11271123
select SPARSEMEM_VMEMMAP_ENABLE if X86_64
11281124

‎arch/x86/configs/i386_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
188188
CONFIG_SMP=y
189189
CONFIG_X86_FIND_SMP_CONFIG=y
190190
CONFIG_X86_MPPARSE=y
191-
CONFIG_X86_PC=y
192191
# CONFIG_X86_ELAN is not set
193192
# CONFIG_X86_VOYAGER is not set
194193
# CONFIG_X86_GENERICARCH is not set

‎arch/x86/configs/x86_64_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
187187
CONFIG_SMP=y
188188
CONFIG_X86_FIND_SMP_CONFIG=y
189189
CONFIG_X86_MPPARSE=y
190-
CONFIG_X86_PC=y
191190
# CONFIG_X86_ELAN is not set
192191
# CONFIG_X86_VOYAGER is not set
193192
# CONFIG_X86_GENERICARCH is not set

‎arch/x86/kernel/smpboot.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ static int __init smp_sanity_check(unsigned max_cpus)
10001000
{
10011001
preempt_disable();
10021002

1003-
#if defined(CONFIG_X86_PC) && defined(CONFIG_X86_32)
1003+
#ifndef CONFIG_X86_BIGSMP
10041004
if (def_to_bigsmp && nr_cpu_ids > 8) {
10051005
unsigned int cpu;
10061006
unsigned nr;

‎drivers/eisa/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
config EISA_VLB_PRIMING
55
bool "Vesa Local Bus priming"
6-
depends on X86_PC && EISA
6+
depends on X86 && EISA
77
default n
88
---help---
99
Activate this option if your system contains a Vesa Local
@@ -24,11 +24,11 @@ config EISA_PCI_EISA
2424
When in doubt, say Y.
2525

2626
# 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...
2828

2929
config EISA_VIRTUAL_ROOT
3030
bool "EISA virtual root device"
31-
depends on EISA && (ALPHA || X86_PC)
31+
depends on EISA && (ALPHA || X86)
3232
default y
3333
---help---
3434
Activate this option if your system only have EISA bus

‎drivers/input/keyboard/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ menuconfig INPUT_KEYBOARD
1313
if INPUT_KEYBOARD
1414

1515
config KEYBOARD_ATKBD
16-
tristate "AT keyboard" if EMBEDDED || !X86_PC
16+
tristate "AT keyboard" if EMBEDDED || !X86
1717
default y
1818
select SERIO
1919
select SERIO_LIBPS2
20-
select SERIO_I8042 if X86_PC
20+
select SERIO_I8042 if X86
2121
select SERIO_GSCPS2 if GSC
2222
help
2323
Say Y here if you want to use a standard AT or PS/2 keyboard. Usually

‎drivers/input/mouse/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ config MOUSE_PS2
1717
default y
1818
select SERIO
1919
select SERIO_LIBPS2
20-
select SERIO_I8042 if X86_PC
20+
select SERIO_I8042 if X86
2121
select SERIO_GSCPS2 if GSC
2222
help
2323
Say Y here if you have a PS/2 mouse connected to your system. This

‎drivers/mtd/nand/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ config MTD_NAND_CAFE
273273

274274
config MTD_NAND_CS553X
275275
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
277277
help
278278
The CS553x companion chips for the AMD Geode processor
279279
include NAND flash controllers with built-in hardware ECC

‎sound/drivers/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if SND_DRIVERS
3333

3434
config SND_PCSP
3535
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
3737
depends on INPUT
3838
depends on EXPERIMENTAL
3939
select SND_PCM

0 commit comments

Comments
 (0)