]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: allow MPPARSE to be deselected in SMP configs
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Mon, 19 May 2008 20:29:59 +0000 (00:29 +0400)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 10:01:26 +0000 (12:01 +0200)
arch/x86/Kconfig.debug
arch/x86/kernel/setup_32.c
arch/x86/kernel/setup_64.c

index ac1e31ba4795cb0f067a280826da257432f93f33..d5b364b43a0256064336e540b2f77ba24eb66e8d 100644 (file)
@@ -127,7 +127,7 @@ config 4KSTACKS
 
 config X86_FIND_SMP_CONFIG
        def_bool y
-       depends on X86_LOCAL_APIC || X86_VOYAGER
+       depends on X86_MPPARSE || X86_VOYAGER || X86_VISWS
        depends on X86_32
 
 config X86_MPPARSE
index e1173aecf69a705a6d3f2311da8b137c55c912ea..c04e8c91daf7b39f32b252ba433e13cc8208e7ef 100644 (file)
@@ -814,7 +814,7 @@ void __init setup_arch(char **cmdline_p)
                        "CONFIG_X86_GENERICARCH or CONFIG_X86_BIGSMP.\n");
 #endif
 #endif
-#ifdef CONFIG_X86_LOCAL_APIC
+#if defined(CONFIG_X86_MPPARSE) || defined(CONFIG_X86_VISWS)
        if (smp_found_config)
                get_smp_config();
 #endif
index 975a5da46e49312f62644e9283959a416e1dec70..89e6cca5d6935b710e8f3fc92338c63372b19ccf 100644 (file)
@@ -456,10 +456,12 @@ void __init setup_arch(char **cmdline_p)
        if (efi_enabled)
                efi_reserve_bootmem();
 
+#ifdef CONFIG_X86_MPPARSE
        /*
        * Find and reserve possible boot-time SMP configuration:
        */
        find_smp_config();
+#endif
 #ifdef CONFIG_BLK_DEV_INITRD
        if (boot_params.hdr.type_of_loader && boot_params.hdr.ramdisk_image) {
                unsigned long ramdisk_image = boot_params.hdr.ramdisk_image;
@@ -502,11 +504,13 @@ void __init setup_arch(char **cmdline_p)
 
        init_cpu_to_node();
 
+#ifdef CONFIG_X86_MPPARSE
        /*
         * get boot-time SMP configuration:
         */
        if (smp_found_config)
                get_smp_config();
+#endif
        init_apic_mappings();
        ioapic_init_mappings();