x86/Voyager: remove X86_FIND_SMP_CONFIG Kconfig quirk
authorIngo Molnar <mingo@elte.hu>
Tue, 27 Jan 2009 16:28:08 +0000 (17:28 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 29 Jan 2009 13:17:04 +0000 (14:17 +0100)
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>
arch/x86/Kconfig
arch/x86/include/asm/mpspec.h
arch/x86/kernel/setup.c

index c0d79ab366decfdb7b8931bb13b4e9e9c073e7ac..df7cb8d68e2f1e70bdb4ed3548d99337cf239e08 100644 (file)
@@ -254,10 +254,6 @@ config NUMA_MIGRATE_IRQ_DESC
 
          If you don't know what to do here, say N.
 
-config X86_FIND_SMP_CONFIG
-       def_bool y
-       depends on X86_MPPARSE || X86_VOYAGER
-
 config X86_MPPARSE
        bool "Enable MPS table" if ACPI
        default y
index 03fb0d396543105e3a05b8ab764a9bcfc2d86dc5..d22f732eab8f6c43310985ebeeaec6219b9e4e04 100644 (file)
@@ -56,11 +56,13 @@ extern int smp_found_config;
 extern int mpc_default_type;
 extern unsigned long mp_lapic_addr;
 
-extern void find_smp_config(void);
 extern void get_smp_config(void);
+
 #ifdef CONFIG_X86_MPPARSE
+extern void find_smp_config(void);
 extern void early_reserve_e820_mpc_new(void);
 #else
+static inline void find_smp_config(void) { }
 static inline void early_reserve_e820_mpc_new(void) { }
 #endif
 
index 609e5af60282c3dc14327e89f8c8ac8744d385a1..6abce6703c536e8d89be53b3008776f6997ce7a0 100644 (file)
@@ -905,12 +905,11 @@ void __init setup_arch(char **cmdline_p)
         */
        acpi_reserve_bootmem();
 #endif
-#ifdef CONFIG_X86_FIND_SMP_CONFIG
        /*
         * Find and reserve possible boot-time SMP configuration:
         */
        find_smp_config();
-#endif
+
        reserve_crashkernel();
 
 #ifdef CONFIG_X86_64
This page took 0.027761 seconds and 5 git commands to generate.