aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/Kconfig4
-rw-r--r--arch/x86/include/asm/mpspec.h4
-rw-r--r--arch/x86/kernel/setup.c3
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
257config X86_FIND_SMP_CONFIG
258 def_bool y
259 depends on X86_MPPARSE || X86_VOYAGER
260
261config X86_MPPARSE 257config 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;
56extern int mpc_default_type; 56extern int mpc_default_type;
57extern unsigned long mp_lapic_addr; 57extern unsigned long mp_lapic_addr;
58 58
59extern void find_smp_config(void);
60extern void get_smp_config(void); 59extern void get_smp_config(void);
60
61#ifdef CONFIG_X86_MPPARSE 61#ifdef CONFIG_X86_MPPARSE
62extern void find_smp_config(void);
62extern void early_reserve_e820_mpc_new(void); 63extern void early_reserve_e820_mpc_new(void);
63#else 64#else
65static inline void find_smp_config(void) { }
64static inline void early_reserve_e820_mpc_new(void) { } 66static 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