diff options
Diffstat (limited to 'arch/i386/kernel')
-rw-r--r-- | arch/i386/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/i386/kernel/acpi/Makefile | 2 | ||||
-rw-r--r-- | arch/i386/kernel/io_apic.c | 4 | ||||
-rw-r--r-- | arch/i386/kernel/mpparse.c | 10 | ||||
-rw-r--r-- | arch/i386/kernel/setup.c | 8 |
5 files changed, 12 insertions, 14 deletions
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile index 4cc83b322b3..c52b4fad011 100644 --- a/arch/i386/kernel/Makefile +++ b/arch/i386/kernel/Makefile | |||
@@ -11,7 +11,7 @@ obj-y := process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o \ | |||
11 | 11 | ||
12 | obj-y += cpu/ | 12 | obj-y += cpu/ |
13 | obj-y += timers/ | 13 | obj-y += timers/ |
14 | obj-$(CONFIG_ACPI_BOOT) += acpi/ | 14 | obj-$(CONFIG_ACPI) += acpi/ |
15 | obj-$(CONFIG_X86_BIOS_REBOOT) += reboot.o | 15 | obj-$(CONFIG_X86_BIOS_REBOOT) += reboot.o |
16 | obj-$(CONFIG_MCA) += mca.o | 16 | obj-$(CONFIG_MCA) += mca.o |
17 | obj-$(CONFIG_X86_MSR) += msr.o | 17 | obj-$(CONFIG_X86_MSR) += msr.o |
diff --git a/arch/i386/kernel/acpi/Makefile b/arch/i386/kernel/acpi/Makefile index 5e291a20c03..267ca48e1b6 100644 --- a/arch/i386/kernel/acpi/Makefile +++ b/arch/i386/kernel/acpi/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | obj-$(CONFIG_ACPI_BOOT) := boot.o | 1 | obj-y := boot.o |
2 | obj-$(CONFIG_X86_IO_APIC) += earlyquirk.o | 2 | obj-$(CONFIG_X86_IO_APIC) += earlyquirk.o |
3 | obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup.o | 3 | obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup.o |
4 | 4 | ||
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c index 6578f40bd50..ebedd2e2167 100644 --- a/arch/i386/kernel/io_apic.c +++ b/arch/i386/kernel/io_apic.c | |||
@@ -2421,7 +2421,7 @@ device_initcall(ioapic_init_sysfs); | |||
2421 | ACPI-based IOAPIC Configuration | 2421 | ACPI-based IOAPIC Configuration |
2422 | -------------------------------------------------------------------------- */ | 2422 | -------------------------------------------------------------------------- */ |
2423 | 2423 | ||
2424 | #ifdef CONFIG_ACPI_BOOT | 2424 | #ifdef CONFIG_ACPI |
2425 | 2425 | ||
2426 | int __init io_apic_get_unique_id (int ioapic, int apic_id) | 2426 | int __init io_apic_get_unique_id (int ioapic, int apic_id) |
2427 | { | 2427 | { |
@@ -2574,4 +2574,4 @@ int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int a | |||
2574 | return 0; | 2574 | return 0; |
2575 | } | 2575 | } |
2576 | 2576 | ||
2577 | #endif /*CONFIG_ACPI_BOOT*/ | 2577 | #endif /* CONFIG_ACPI */ |
diff --git a/arch/i386/kernel/mpparse.c b/arch/i386/kernel/mpparse.c index ce838abb27d..9a4db7d3000 100644 --- a/arch/i386/kernel/mpparse.c +++ b/arch/i386/kernel/mpparse.c | |||
@@ -653,8 +653,6 @@ void __init get_smp_config (void) | |||
653 | struct intel_mp_floating *mpf = mpf_found; | 653 | struct intel_mp_floating *mpf = mpf_found; |
654 | 654 | ||
655 | /* | 655 | /* |
656 | * ACPI may be used to obtain the entire SMP configuration or just to | ||
657 | * enumerate/configure processors (CONFIG_ACPI_BOOT). Note that | ||
658 | * ACPI supports both logical (e.g. Hyper-Threading) and physical | 656 | * ACPI supports both logical (e.g. Hyper-Threading) and physical |
659 | * processors, where MPS only supports physical. | 657 | * processors, where MPS only supports physical. |
660 | */ | 658 | */ |
@@ -810,7 +808,7 @@ void __init find_smp_config (void) | |||
810 | ACPI-based MP Configuration | 808 | ACPI-based MP Configuration |
811 | -------------------------------------------------------------------------- */ | 809 | -------------------------------------------------------------------------- */ |
812 | 810 | ||
813 | #ifdef CONFIG_ACPI_BOOT | 811 | #ifdef CONFIG_ACPI |
814 | 812 | ||
815 | void __init mp_register_lapic_address ( | 813 | void __init mp_register_lapic_address ( |
816 | u64 address) | 814 | u64 address) |
@@ -856,7 +854,7 @@ void __init mp_register_lapic ( | |||
856 | MP_processor_info(&processor); | 854 | MP_processor_info(&processor); |
857 | } | 855 | } |
858 | 856 | ||
859 | #if defined(CONFIG_X86_IO_APIC) && (defined(CONFIG_ACPI_INTERPRETER) || defined(CONFIG_ACPI_BOOT)) | 857 | #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_ACPI_INTERPRETER) |
860 | 858 | ||
861 | #define MP_ISA_BUS 0 | 859 | #define MP_ISA_BUS 0 |
862 | #define MP_MAX_IOAPIC_PIN 127 | 860 | #define MP_MAX_IOAPIC_PIN 127 |
@@ -1138,5 +1136,5 @@ int mp_register_gsi (u32 gsi, int edge_level, int active_high_low) | |||
1138 | return gsi; | 1136 | return gsi; |
1139 | } | 1137 | } |
1140 | 1138 | ||
1141 | #endif /*CONFIG_X86_IO_APIC && (CONFIG_ACPI_INTERPRETER || CONFIG_ACPI_BOOT)*/ | 1139 | #endif /* CONFIG_X86_IO_APIC && CONFIG_ACPI_INTERPRETER */ |
1142 | #endif /*CONFIG_ACPI_BOOT*/ | 1140 | #endif /* CONFIG_ACPI */ |
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index af4de58cab5..d3943e5edc8 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c | |||
@@ -94,7 +94,7 @@ unsigned long mmu_cr4_features; | |||
94 | #endif | 94 | #endif |
95 | EXPORT_SYMBOL(acpi_disabled); | 95 | EXPORT_SYMBOL(acpi_disabled); |
96 | 96 | ||
97 | #ifdef CONFIG_ACPI_BOOT | 97 | #ifdef CONFIG_ACPI |
98 | int __initdata acpi_force = 0; | 98 | int __initdata acpi_force = 0; |
99 | extern acpi_interrupt_flags acpi_sci_flags; | 99 | extern acpi_interrupt_flags acpi_sci_flags; |
100 | #endif | 100 | #endif |
@@ -794,7 +794,7 @@ static void __init parse_cmdline_early (char ** cmdline_p) | |||
794 | } | 794 | } |
795 | #endif | 795 | #endif |
796 | 796 | ||
797 | #ifdef CONFIG_ACPI_BOOT | 797 | #ifdef CONFIG_ACPI |
798 | /* "acpi=off" disables both ACPI table parsing and interpreter */ | 798 | /* "acpi=off" disables both ACPI table parsing and interpreter */ |
799 | else if (!memcmp(from, "acpi=off", 8)) { | 799 | else if (!memcmp(from, "acpi=off", 8)) { |
800 | disable_acpi(); | 800 | disable_acpi(); |
@@ -850,7 +850,7 @@ static void __init parse_cmdline_early (char ** cmdline_p) | |||
850 | else if (!memcmp(from, "noapic", 6)) | 850 | else if (!memcmp(from, "noapic", 6)) |
851 | disable_ioapic_setup(); | 851 | disable_ioapic_setup(); |
852 | #endif /* CONFIG_X86_LOCAL_APIC */ | 852 | #endif /* CONFIG_X86_LOCAL_APIC */ |
853 | #endif /* CONFIG_ACPI_BOOT */ | 853 | #endif /* CONFIG_ACPI */ |
854 | 854 | ||
855 | #ifdef CONFIG_X86_LOCAL_APIC | 855 | #ifdef CONFIG_X86_LOCAL_APIC |
856 | /* enable local APIC */ | 856 | /* enable local APIC */ |
@@ -1575,7 +1575,7 @@ void __init setup_arch(char **cmdline_p) | |||
1575 | if (efi_enabled) | 1575 | if (efi_enabled) |
1576 | efi_map_memmap(); | 1576 | efi_map_memmap(); |
1577 | 1577 | ||
1578 | #ifdef CONFIG_ACPI_BOOT | 1578 | #ifdef CONFIG_ACPI |
1579 | /* | 1579 | /* |
1580 | * Parse the ACPI tables for possible boot-time SMP configuration. | 1580 | * Parse the ACPI tables for possible boot-time SMP configuration. |
1581 | */ | 1581 | */ |