diff options
author | Andi Kleen <ak@suse.de> | 2006-09-26 04:52:29 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-09-26 04:52:29 -0400 |
commit | 7f11d8a5efd625ffa41cde1d8472f85e885478ec (patch) | |
tree | 4f80219fc2153166c89c54d6555498155fa2f3b2 /arch/x86_64/kernel/setup.c | |
parent | 5ba5891d44a6acade44887a0f3195489d46c12de (diff) |
[PATCH] Remove all ifdefs for local/io apic
IO-APIC or local APIC can only be disabled at runtime anyways and
Kconfig has forced these options on for a long time now.
The Kconfigs are kept only now for the benefit of the shared acpi
boot.c code.
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64/kernel/setup.c')
-rw-r--r-- | arch/x86_64/kernel/setup.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c index 34afad704824..fbe9f7faa2db 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86_64/kernel/setup.c | |||
@@ -340,11 +340,9 @@ static __init void parse_cmdline_early (char ** cmdline_p) | |||
340 | else if (fullarg(from, "acpi=strict")) { | 340 | else if (fullarg(from, "acpi=strict")) { |
341 | acpi_strict = 1; | 341 | acpi_strict = 1; |
342 | } | 342 | } |
343 | #ifdef CONFIG_X86_IO_APIC | ||
344 | else if (fullarg(from, "acpi_skip_timer_override")) | 343 | else if (fullarg(from, "acpi_skip_timer_override")) |
345 | acpi_skip_timer_override = 1; | 344 | acpi_skip_timer_override = 1; |
346 | #endif | 345 | #endif |
347 | #endif | ||
348 | 346 | ||
349 | if (fullarg(from, "disable_timer_pin_1")) | 347 | if (fullarg(from, "disable_timer_pin_1")) |
350 | disable_timer_pin_1 = 1; | 348 | disable_timer_pin_1 = 1; |
@@ -625,12 +623,10 @@ void __init setup_arch(char **cmdline_p) | |||
625 | */ | 623 | */ |
626 | acpi_reserve_bootmem(); | 624 | acpi_reserve_bootmem(); |
627 | #endif | 625 | #endif |
628 | #ifdef CONFIG_X86_LOCAL_APIC | ||
629 | /* | 626 | /* |
630 | * Find and reserve possible boot-time SMP configuration: | 627 | * Find and reserve possible boot-time SMP configuration: |
631 | */ | 628 | */ |
632 | find_smp_config(); | 629 | find_smp_config(); |
633 | #endif | ||
634 | #ifdef CONFIG_BLK_DEV_INITRD | 630 | #ifdef CONFIG_BLK_DEV_INITRD |
635 | if (LOADER_TYPE && INITRD_START) { | 631 | if (LOADER_TYPE && INITRD_START) { |
636 | if (INITRD_START + INITRD_SIZE <= (end_pfn << PAGE_SHIFT)) { | 632 | if (INITRD_START + INITRD_SIZE <= (end_pfn << PAGE_SHIFT)) { |
@@ -674,14 +670,12 @@ void __init setup_arch(char **cmdline_p) | |||
674 | 670 | ||
675 | init_cpu_to_node(); | 671 | init_cpu_to_node(); |
676 | 672 | ||
677 | #ifdef CONFIG_X86_LOCAL_APIC | ||
678 | /* | 673 | /* |
679 | * get boot-time SMP configuration: | 674 | * get boot-time SMP configuration: |
680 | */ | 675 | */ |
681 | if (smp_found_config) | 676 | if (smp_found_config) |
682 | get_smp_config(); | 677 | get_smp_config(); |
683 | init_apic_mappings(); | 678 | init_apic_mappings(); |
684 | #endif | ||
685 | 679 | ||
686 | /* | 680 | /* |
687 | * Request address space for all standard RAM and ROM resources | 681 | * Request address space for all standard RAM and ROM resources |