diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-27 11:28:08 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-29 08:17:04 -0500 |
commit | 550fe4f198558c147c6b8273a709568222a1668a (patch) | |
tree | ad81c4dbc24c48b0e26c15a100e21f29e68122da /arch/x86 | |
parent | f095df0a0cb35a52605541f619d038339b90d7cc (diff) |
x86/Voyager: remove X86_FIND_SMP_CONFIG Kconfig quirk
x86/Voyager had this Kconfig quirk:
config X86_FIND_SMP_CONFIG
def_bool y
depends on X86_MPPARSE || X86_VOYAGER
Which splits off the find_smp_config() callback into a build-time quirk.
Voyager should use the existing x86_quirks.mach_find_smp_config() callback
to introduce SMP-config quirks. NUMAQ-32 and VISWS already use this.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/Kconfig | 4 | ||||
-rw-r--r-- | arch/x86/include/asm/mpspec.h | 4 | ||||
-rw-r--r-- | arch/x86/kernel/setup.c | 3 |
3 files changed, 4 insertions, 7 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index c0d79ab366de..df7cb8d68e2f 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -254,10 +254,6 @@ config NUMA_MIGRATE_IRQ_DESC | |||
254 | 254 | ||
255 | If you don't know what to do here, say N. | 255 | If you don't know what to do here, say N. |
256 | 256 | ||
257 | config X86_FIND_SMP_CONFIG | ||
258 | def_bool y | ||
259 | depends on X86_MPPARSE || X86_VOYAGER | ||
260 | |||
261 | config X86_MPPARSE | 257 | config X86_MPPARSE |
262 | bool "Enable MPS table" if ACPI | 258 | bool "Enable MPS table" if ACPI |
263 | default y | 259 | default y |
diff --git a/arch/x86/include/asm/mpspec.h b/arch/x86/include/asm/mpspec.h index 03fb0d396543..d22f732eab8f 100644 --- a/arch/x86/include/asm/mpspec.h +++ b/arch/x86/include/asm/mpspec.h | |||
@@ -56,11 +56,13 @@ extern int smp_found_config; | |||
56 | extern int mpc_default_type; | 56 | extern int mpc_default_type; |
57 | extern unsigned long mp_lapic_addr; | 57 | extern unsigned long mp_lapic_addr; |
58 | 58 | ||
59 | extern void find_smp_config(void); | ||
60 | extern void get_smp_config(void); | 59 | extern void get_smp_config(void); |
60 | |||
61 | #ifdef CONFIG_X86_MPPARSE | 61 | #ifdef CONFIG_X86_MPPARSE |
62 | extern void find_smp_config(void); | ||
62 | extern void early_reserve_e820_mpc_new(void); | 63 | extern void early_reserve_e820_mpc_new(void); |
63 | #else | 64 | #else |
65 | static inline void find_smp_config(void) { } | ||
64 | static inline void early_reserve_e820_mpc_new(void) { } | 66 | static inline void early_reserve_e820_mpc_new(void) { } |
65 | #endif | 67 | #endif |
66 | 68 | ||
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 609e5af60282..6abce6703c53 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -905,12 +905,11 @@ void __init setup_arch(char **cmdline_p) | |||
905 | */ | 905 | */ |
906 | acpi_reserve_bootmem(); | 906 | acpi_reserve_bootmem(); |
907 | #endif | 907 | #endif |
908 | #ifdef CONFIG_X86_FIND_SMP_CONFIG | ||
909 | /* | 908 | /* |
910 | * Find and reserve possible boot-time SMP configuration: | 909 | * Find and reserve possible boot-time SMP configuration: |
911 | */ | 910 | */ |
912 | find_smp_config(); | 911 | find_smp_config(); |
913 | #endif | 912 | |
914 | reserve_crashkernel(); | 913 | reserve_crashkernel(); |
915 | 914 | ||
916 | #ifdef CONFIG_X86_64 | 915 | #ifdef CONFIG_X86_64 |