aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-05-19 16:29:59 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 06:01:26 -0400
commit136ef671df04dc157afa0d4b96c7bd23ba072c9c (patch)
treeffe1d8e41e13204c684604541c7a5886238eb38c /arch/x86/kernel/setup_64.c
parent8732fc4b237fca3bd3cb0ec87ca8fb90271b0baf (diff)
x86: allow MPPARSE to be deselected in SMP configs
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index 975a5da46e49..89e6cca5d693 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -456,10 +456,12 @@ void __init setup_arch(char **cmdline_p)
456 if (efi_enabled) 456 if (efi_enabled)
457 efi_reserve_bootmem(); 457 efi_reserve_bootmem();
458 458
459#ifdef CONFIG_X86_MPPARSE
459 /* 460 /*
460 * Find and reserve possible boot-time SMP configuration: 461 * Find and reserve possible boot-time SMP configuration:
461 */ 462 */
462 find_smp_config(); 463 find_smp_config();
464#endif
463#ifdef CONFIG_BLK_DEV_INITRD 465#ifdef CONFIG_BLK_DEV_INITRD
464 if (boot_params.hdr.type_of_loader && boot_params.hdr.ramdisk_image) { 466 if (boot_params.hdr.type_of_loader && boot_params.hdr.ramdisk_image) {
465 unsigned long ramdisk_image = boot_params.hdr.ramdisk_image; 467 unsigned long ramdisk_image = boot_params.hdr.ramdisk_image;
@@ -502,11 +504,13 @@ void __init setup_arch(char **cmdline_p)
502 504
503 init_cpu_to_node(); 505 init_cpu_to_node();
504 506
507#ifdef CONFIG_X86_MPPARSE
505 /* 508 /*
506 * get boot-time SMP configuration: 509 * get boot-time SMP configuration:
507 */ 510 */
508 if (smp_found_config) 511 if (smp_found_config)
509 get_smp_config(); 512 get_smp_config();
513#endif
510 init_apic_mappings(); 514 init_apic_mappings();
511 ioapic_init_mappings(); 515 ioapic_init_mappings();
512 516