diff options
34 files changed, 50 insertions, 68 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 619d843ba23..9ba33490874 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -1203,7 +1203,6 @@ config PCI_DIRECT | |||
1203 | config PCI_MMCONFIG | 1203 | config PCI_MMCONFIG |
1204 | bool | 1204 | bool |
1205 | depends on PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) | 1205 | depends on PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) |
1206 | select ACPI_BOOT | ||
1207 | default y | 1206 | default y |
1208 | 1207 | ||
1209 | source "drivers/pci/pcie/Kconfig" | 1208 | source "drivers/pci/pcie/Kconfig" |
diff --git a/arch/i386/defconfig b/arch/i386/defconfig index ca07b95c06b..1c0076e22dd 100644 --- a/arch/i386/defconfig +++ b/arch/i386/defconfig | |||
@@ -131,7 +131,6 @@ CONFIG_SOFTWARE_SUSPEND=y | |||
131 | # ACPI (Advanced Configuration and Power Interface) Support | 131 | # ACPI (Advanced Configuration and Power Interface) Support |
132 | # | 132 | # |
133 | CONFIG_ACPI=y | 133 | CONFIG_ACPI=y |
134 | CONFIG_ACPI_BOOT=y | ||
135 | CONFIG_ACPI_INTERPRETER=y | 134 | CONFIG_ACPI_INTERPRETER=y |
136 | CONFIG_ACPI_SLEEP=y | 135 | CONFIG_ACPI_SLEEP=y |
137 | CONFIG_ACPI_SLEEP_PROC_FS=y | 136 | CONFIG_ACPI_SLEEP_PROC_FS=y |
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 | */ |
diff --git a/arch/i386/mach-es7000/es7000plat.c b/arch/i386/mach-es7000/es7000plat.c index d5936d50047..baac9da042c 100644 --- a/arch/i386/mach-es7000/es7000plat.c +++ b/arch/i386/mach-es7000/es7000plat.c | |||
@@ -51,7 +51,7 @@ struct mip_reg *host_reg; | |||
51 | int mip_port; | 51 | int mip_port; |
52 | unsigned long mip_addr, host_addr; | 52 | unsigned long mip_addr, host_addr; |
53 | 53 | ||
54 | #if defined(CONFIG_X86_IO_APIC) && (defined(CONFIG_ACPI_INTERPRETER) || defined(CONFIG_ACPI_BOOT)) | 54 | #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_ACPI_INTERPRETER) |
55 | 55 | ||
56 | /* | 56 | /* |
57 | * GSI override for ES7000 platforms. | 57 | * GSI override for ES7000 platforms. |
@@ -73,7 +73,7 @@ es7000_rename_gsi(int ioapic, int gsi) | |||
73 | return gsi; | 73 | return gsi; |
74 | } | 74 | } |
75 | 75 | ||
76 | #endif // (CONFIG_X86_IO_APIC) && (CONFIG_ACPI_INTERPRETER || CONFIG_ACPI_BOOT) | 76 | #endif // (CONFIG_X86_IO_APIC) && (CONFIG_ACPI_INTERPRETER) |
77 | 77 | ||
78 | /* | 78 | /* |
79 | * Parse the OEM Table | 79 | * Parse the OEM Table |
diff --git a/arch/ia64/configs/bigsur_defconfig b/arch/ia64/configs/bigsur_defconfig index b95fcf86ea0..456c65689be 100644 --- a/arch/ia64/configs/bigsur_defconfig +++ b/arch/ia64/configs/bigsur_defconfig | |||
@@ -107,7 +107,6 @@ CONFIG_ACPI=y | |||
107 | # | 107 | # |
108 | # ACPI (Advanced Configuration and Power Interface) Support | 108 | # ACPI (Advanced Configuration and Power Interface) Support |
109 | # | 109 | # |
110 | CONFIG_ACPI_BOOT=y | ||
111 | CONFIG_ACPI_INTERPRETER=y | 110 | CONFIG_ACPI_INTERPRETER=y |
112 | CONFIG_ACPI_BUTTON=m | 111 | CONFIG_ACPI_BUTTON=m |
113 | CONFIG_ACPI_VIDEO=m | 112 | CONFIG_ACPI_VIDEO=m |
diff --git a/arch/ia64/configs/sn2_defconfig b/arch/ia64/configs/sn2_defconfig index dccf35c60b9..dc483c18343 100644 --- a/arch/ia64/configs/sn2_defconfig +++ b/arch/ia64/configs/sn2_defconfig | |||
@@ -130,7 +130,6 @@ CONFIG_ACPI=y | |||
130 | # | 130 | # |
131 | # ACPI (Advanced Configuration and Power Interface) Support | 131 | # ACPI (Advanced Configuration and Power Interface) Support |
132 | # | 132 | # |
133 | CONFIG_ACPI_BOOT=y | ||
134 | CONFIG_ACPI_INTERPRETER=y | 133 | CONFIG_ACPI_INTERPRETER=y |
135 | # CONFIG_ACPI_BUTTON is not set | 134 | # CONFIG_ACPI_BUTTON is not set |
136 | CONFIG_ACPI_VIDEO=m | 135 | CONFIG_ACPI_VIDEO=m |
diff --git a/arch/ia64/configs/tiger_defconfig b/arch/ia64/configs/tiger_defconfig index c853cfcd2d1..cd2d6375a85 100644 --- a/arch/ia64/configs/tiger_defconfig +++ b/arch/ia64/configs/tiger_defconfig | |||
@@ -128,7 +128,6 @@ CONFIG_ACPI=y | |||
128 | # | 128 | # |
129 | # ACPI (Advanced Configuration and Power Interface) Support | 129 | # ACPI (Advanced Configuration and Power Interface) Support |
130 | # | 130 | # |
131 | CONFIG_ACPI_BOOT=y | ||
132 | CONFIG_ACPI_INTERPRETER=y | 131 | CONFIG_ACPI_INTERPRETER=y |
133 | CONFIG_ACPI_BUTTON=m | 132 | CONFIG_ACPI_BUTTON=m |
134 | # CONFIG_ACPI_VIDEO is not set | 133 | # CONFIG_ACPI_VIDEO is not set |
diff --git a/arch/ia64/configs/zx1_defconfig b/arch/ia64/configs/zx1_defconfig index 88e8867fa8e..cf58404769a 100644 --- a/arch/ia64/configs/zx1_defconfig +++ b/arch/ia64/configs/zx1_defconfig | |||
@@ -128,7 +128,6 @@ CONFIG_ACPI=y | |||
128 | # | 128 | # |
129 | # ACPI (Advanced Configuration and Power Interface) Support | 129 | # ACPI (Advanced Configuration and Power Interface) Support |
130 | # | 130 | # |
131 | CONFIG_ACPI_BOOT=y | ||
132 | CONFIG_ACPI_INTERPRETER=y | 131 | CONFIG_ACPI_INTERPRETER=y |
133 | CONFIG_ACPI_BUTTON=y | 132 | CONFIG_ACPI_BUTTON=y |
134 | CONFIG_ACPI_VIDEO=m | 133 | CONFIG_ACPI_VIDEO=m |
diff --git a/arch/ia64/defconfig b/arch/ia64/defconfig index 8444add7638..f38c677f7af 100644 --- a/arch/ia64/defconfig +++ b/arch/ia64/defconfig | |||
@@ -118,7 +118,6 @@ CONFIG_ACPI=y | |||
118 | # | 118 | # |
119 | # ACPI (Advanced Configuration and Power Interface) Support | 119 | # ACPI (Advanced Configuration and Power Interface) Support |
120 | # | 120 | # |
121 | CONFIG_ACPI_BOOT=y | ||
122 | CONFIG_ACPI_INTERPRETER=y | 121 | CONFIG_ACPI_INTERPRETER=y |
123 | CONFIG_ACPI_BUTTON=m | 122 | CONFIG_ACPI_BUTTON=m |
124 | CONFIG_ACPI_VIDEO=m | 123 | CONFIG_ACPI_VIDEO=m |
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 78bc2198712..318787c84ac 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -132,7 +132,7 @@ const char *acpi_get_sysname(void) | |||
132 | #endif | 132 | #endif |
133 | } | 133 | } |
134 | 134 | ||
135 | #ifdef CONFIG_ACPI_BOOT | 135 | #ifdef CONFIG_ACPI |
136 | 136 | ||
137 | #define ACPI_MAX_PLATFORM_INTERRUPTS 256 | 137 | #define ACPI_MAX_PLATFORM_INTERRUPTS 256 |
138 | 138 | ||
@@ -917,4 +917,4 @@ int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base) | |||
917 | 917 | ||
918 | EXPORT_SYMBOL(acpi_unregister_ioapic); | 918 | EXPORT_SYMBOL(acpi_unregister_ioapic); |
919 | 919 | ||
920 | #endif /* CONFIG_ACPI_BOOT */ | 920 | #endif /* CONFIG_ACPI */ |
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 84f89da7c64..1f5c26dbe70 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
@@ -384,7 +384,7 @@ setup_arch (char **cmdline_p) | |||
384 | if (early_console_setup(*cmdline_p) == 0) | 384 | if (early_console_setup(*cmdline_p) == 0) |
385 | mark_bsp_online(); | 385 | mark_bsp_online(); |
386 | 386 | ||
387 | #ifdef CONFIG_ACPI_BOOT | 387 | #ifdef CONFIG_ACPI |
388 | /* Initialize the ACPI boot-time table parser */ | 388 | /* Initialize the ACPI boot-time table parser */ |
389 | acpi_table_init(); | 389 | acpi_table_init(); |
390 | # ifdef CONFIG_ACPI_NUMA | 390 | # ifdef CONFIG_ACPI_NUMA |
@@ -420,7 +420,7 @@ setup_arch (char **cmdline_p) | |||
420 | 420 | ||
421 | cpu_init(); /* initialize the bootstrap CPU */ | 421 | cpu_init(); /* initialize the bootstrap CPU */ |
422 | 422 | ||
423 | #ifdef CONFIG_ACPI_BOOT | 423 | #ifdef CONFIG_ACPI |
424 | acpi_boot_init(); | 424 | acpi_boot_init(); |
425 | #endif | 425 | #endif |
426 | 426 | ||
diff --git a/arch/ia64/kernel/topology.c b/arch/ia64/kernel/topology.c index 92ff46ad21e..706b7734e19 100644 --- a/arch/ia64/kernel/topology.c +++ b/arch/ia64/kernel/topology.c | |||
@@ -36,7 +36,7 @@ int arch_register_cpu(int num) | |||
36 | parent = &sysfs_nodes[cpu_to_node(num)]; | 36 | parent = &sysfs_nodes[cpu_to_node(num)]; |
37 | #endif /* CONFIG_NUMA */ | 37 | #endif /* CONFIG_NUMA */ |
38 | 38 | ||
39 | #ifdef CONFIG_ACPI_BOOT | 39 | #ifdef CONFIG_ACPI |
40 | /* | 40 | /* |
41 | * If CPEI cannot be re-targetted, and this is | 41 | * If CPEI cannot be re-targetted, and this is |
42 | * CPEI target, then dont create the control file | 42 | * CPEI target, then dont create the control file |
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 660a03a89e6..40242c61e90 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -144,7 +144,6 @@ config X86_CPUID | |||
144 | with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to | 144 | with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to |
145 | /dev/cpu/31/cpuid. | 145 | /dev/cpu/31/cpuid. |
146 | 146 | ||
147 | # disable it for opteron optimized builds because it pulls in ACPI_BOOT | ||
148 | config X86_HT | 147 | config X86_HT |
149 | bool | 148 | bool |
150 | depends on SMP && !MK8 | 149 | depends on SMP && !MK8 |
@@ -461,7 +460,6 @@ config PCI_DIRECT | |||
461 | config PCI_MMCONFIG | 460 | config PCI_MMCONFIG |
462 | bool "Support mmconfig PCI config space access" | 461 | bool "Support mmconfig PCI config space access" |
463 | depends on PCI && ACPI | 462 | depends on PCI && ACPI |
464 | select ACPI_BOOT | ||
465 | 463 | ||
466 | config UNORDERED_IO | 464 | config UNORDERED_IO |
467 | bool "Unordered IO mapping access" | 465 | bool "Unordered IO mapping access" |
diff --git a/arch/x86_64/defconfig b/arch/x86_64/defconfig index 776f3c866b7..aed77c1c5cc 100644 --- a/arch/x86_64/defconfig +++ b/arch/x86_64/defconfig | |||
@@ -135,7 +135,6 @@ CONFIG_PM_STD_PARTITION="" | |||
135 | # ACPI (Advanced Configuration and Power Interface) Support | 135 | # ACPI (Advanced Configuration and Power Interface) Support |
136 | # | 136 | # |
137 | CONFIG_ACPI=y | 137 | CONFIG_ACPI=y |
138 | CONFIG_ACPI_BOOT=y | ||
139 | CONFIG_ACPI_INTERPRETER=y | 138 | CONFIG_ACPI_INTERPRETER=y |
140 | CONFIG_ACPI_AC=y | 139 | CONFIG_ACPI_AC=y |
141 | CONFIG_ACPI_BATTERY=y | 140 | CONFIG_ACPI_BATTERY=y |
diff --git a/arch/x86_64/kernel/Makefile b/arch/x86_64/kernel/Makefile index 48f9e2c19cd..0296ca6cbfa 100644 --- a/arch/x86_64/kernel/Makefile +++ b/arch/x86_64/kernel/Makefile | |||
@@ -12,7 +12,7 @@ obj-y := process.o semaphore.o signal.o entry.o traps.o irq.o \ | |||
12 | obj-$(CONFIG_X86_MCE) += mce.o | 12 | obj-$(CONFIG_X86_MCE) += mce.o |
13 | obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o | 13 | obj-$(CONFIG_X86_MCE_INTEL) += mce_intel.o |
14 | obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/ | 14 | obj-$(CONFIG_MTRR) += ../../i386/kernel/cpu/mtrr/ |
15 | obj-$(CONFIG_ACPI_BOOT) += acpi/ | 15 | obj-$(CONFIG_ACPI) += acpi/ |
16 | obj-$(CONFIG_X86_MSR) += msr.o | 16 | obj-$(CONFIG_X86_MSR) += msr.o |
17 | obj-$(CONFIG_MICROCODE) += microcode.o | 17 | obj-$(CONFIG_MICROCODE) += microcode.o |
18 | obj-$(CONFIG_X86_CPUID) += cpuid.o | 18 | obj-$(CONFIG_X86_CPUID) += cpuid.o |
diff --git a/arch/x86_64/kernel/acpi/Makefile b/arch/x86_64/kernel/acpi/Makefile index d2c2ee5f9a8..7da9ace890b 100644 --- a/arch/x86_64/kernel/acpi/Makefile +++ b/arch/x86_64/kernel/acpi/Makefile | |||
@@ -1,3 +1,3 @@ | |||
1 | obj-$(CONFIG_ACPI_BOOT) := boot.o | 1 | obj-y := boot.o |
2 | boot-$(CONFIG_ACPI_BOOT) := ../../../i386/kernel/acpi/boot.o | 2 | boot-y := ../../../i386/kernel/acpi/boot.o |
3 | obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup.o | 3 | obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup.o |
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index d206d7e49cf..1013a8fe44d 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c | |||
@@ -1841,7 +1841,7 @@ device_initcall(ioapic_init_sysfs); | |||
1841 | ACPI-based IOAPIC Configuration | 1841 | ACPI-based IOAPIC Configuration |
1842 | -------------------------------------------------------------------------- */ | 1842 | -------------------------------------------------------------------------- */ |
1843 | 1843 | ||
1844 | #ifdef CONFIG_ACPI_BOOT | 1844 | #ifdef CONFIG_ACPI |
1845 | 1845 | ||
1846 | #define IO_APIC_MAX_ID 0xFE | 1846 | #define IO_APIC_MAX_ID 0xFE |
1847 | 1847 | ||
@@ -1923,7 +1923,7 @@ int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int a | |||
1923 | return 0; | 1923 | return 0; |
1924 | } | 1924 | } |
1925 | 1925 | ||
1926 | #endif /*CONFIG_ACPI_BOOT*/ | 1926 | #endif /* CONFIG_ACPI */ |
1927 | 1927 | ||
1928 | 1928 | ||
1929 | /* | 1929 | /* |
diff --git a/arch/x86_64/kernel/mpparse.c b/arch/x86_64/kernel/mpparse.c index 79c362d03e2..86445f320d8 100644 --- a/arch/x86_64/kernel/mpparse.c +++ b/arch/x86_64/kernel/mpparse.c | |||
@@ -74,7 +74,7 @@ static unsigned int num_processors = 0; | |||
74 | physid_mask_t phys_cpu_present_map = PHYSID_MASK_NONE; | 74 | physid_mask_t phys_cpu_present_map = PHYSID_MASK_NONE; |
75 | 75 | ||
76 | /* ACPI MADT entry parsing functions */ | 76 | /* ACPI MADT entry parsing functions */ |
77 | #ifdef CONFIG_ACPI_BOOT | 77 | #ifdef CONFIG_ACPI |
78 | extern struct acpi_boot_flags acpi_boot; | 78 | extern struct acpi_boot_flags acpi_boot; |
79 | #ifdef CONFIG_X86_LOCAL_APIC | 79 | #ifdef CONFIG_X86_LOCAL_APIC |
80 | extern int acpi_parse_lapic (acpi_table_entry_header *header); | 80 | extern int acpi_parse_lapic (acpi_table_entry_header *header); |
@@ -84,7 +84,7 @@ extern int acpi_parse_lapic_nmi (acpi_table_entry_header *header); | |||
84 | #ifdef CONFIG_X86_IO_APIC | 84 | #ifdef CONFIG_X86_IO_APIC |
85 | extern int acpi_parse_ioapic (acpi_table_entry_header *header); | 85 | extern int acpi_parse_ioapic (acpi_table_entry_header *header); |
86 | #endif /*CONFIG_X86_IO_APIC*/ | 86 | #endif /*CONFIG_X86_IO_APIC*/ |
87 | #endif /*CONFIG_ACPI_BOOT*/ | 87 | #endif /*CONFIG_ACPI*/ |
88 | 88 | ||
89 | u8 bios_cpu_apicid[NR_CPUS] = { [0 ... NR_CPUS-1] = BAD_APICID }; | 89 | u8 bios_cpu_apicid[NR_CPUS] = { [0 ... NR_CPUS-1] = BAD_APICID }; |
90 | 90 | ||
@@ -519,8 +519,6 @@ void __init get_smp_config (void) | |||
519 | struct intel_mp_floating *mpf = mpf_found; | 519 | struct intel_mp_floating *mpf = mpf_found; |
520 | 520 | ||
521 | /* | 521 | /* |
522 | * ACPI may be used to obtain the entire SMP configuration or just to | ||
523 | * enumerate/configure processors (CONFIG_ACPI_BOOT). Note that | ||
524 | * ACPI supports both logical (e.g. Hyper-Threading) and physical | 522 | * ACPI supports both logical (e.g. Hyper-Threading) and physical |
525 | * processors, where MPS only supports physical. | 523 | * processors, where MPS only supports physical. |
526 | */ | 524 | */ |
@@ -673,7 +671,7 @@ void __init find_smp_config (void) | |||
673 | ACPI-based MP Configuration | 671 | ACPI-based MP Configuration |
674 | -------------------------------------------------------------------------- */ | 672 | -------------------------------------------------------------------------- */ |
675 | 673 | ||
676 | #ifdef CONFIG_ACPI_BOOT | 674 | #ifdef CONFIG_ACPI |
677 | 675 | ||
678 | void __init mp_register_lapic_address ( | 676 | void __init mp_register_lapic_address ( |
679 | u64 address) | 677 | u64 address) |
@@ -994,4 +992,4 @@ int mp_register_gsi(u32 gsi, int edge_level, int active_high_low) | |||
994 | } | 992 | } |
995 | 993 | ||
996 | #endif /*CONFIG_X86_IO_APIC*/ | 994 | #endif /*CONFIG_X86_IO_APIC*/ |
997 | #endif /*CONFIG_ACPI_BOOT*/ | 995 | #endif /*CONFIG_ACPI*/ |
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c index 116a491e296..cfcebc8ab7b 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86_64/kernel/setup.c | |||
@@ -71,7 +71,7 @@ unsigned long mmu_cr4_features; | |||
71 | 71 | ||
72 | int acpi_disabled; | 72 | int acpi_disabled; |
73 | EXPORT_SYMBOL(acpi_disabled); | 73 | EXPORT_SYMBOL(acpi_disabled); |
74 | #ifdef CONFIG_ACPI_BOOT | 74 | #ifdef CONFIG_ACPI |
75 | extern int __initdata acpi_ht; | 75 | extern int __initdata acpi_ht; |
76 | extern acpi_interrupt_flags acpi_sci_flags; | 76 | extern acpi_interrupt_flags acpi_sci_flags; |
77 | int __initdata acpi_force = 0; | 77 | int __initdata acpi_force = 0; |
@@ -294,7 +294,7 @@ static __init void parse_cmdline_early (char ** cmdline_p) | |||
294 | maxcpus = simple_strtoul(from + 8, NULL, 0); | 294 | maxcpus = simple_strtoul(from + 8, NULL, 0); |
295 | } | 295 | } |
296 | #endif | 296 | #endif |
297 | #ifdef CONFIG_ACPI_BOOT | 297 | #ifdef CONFIG_ACPI |
298 | /* "acpi=off" disables both ACPI table parsing and interpreter init */ | 298 | /* "acpi=off" disables both ACPI table parsing and interpreter init */ |
299 | if (!memcmp(from, "acpi=off", 8)) | 299 | if (!memcmp(from, "acpi=off", 8)) |
300 | disable_acpi(); | 300 | disable_acpi(); |
@@ -566,7 +566,7 @@ void __init setup_arch(char **cmdline_p) | |||
566 | 566 | ||
567 | init_memory_mapping(0, (end_pfn_map << PAGE_SHIFT)); | 567 | init_memory_mapping(0, (end_pfn_map << PAGE_SHIFT)); |
568 | 568 | ||
569 | #ifdef CONFIG_ACPI_BOOT | 569 | #ifdef CONFIG_ACPI |
570 | /* | 570 | /* |
571 | * Initialize the ACPI boot-time table parser (gets the RSDP and SDT). | 571 | * Initialize the ACPI boot-time table parser (gets the RSDP and SDT). |
572 | * Call this early for SRAT node setup. | 572 | * Call this early for SRAT node setup. |
@@ -658,7 +658,7 @@ void __init setup_arch(char **cmdline_p) | |||
658 | 658 | ||
659 | check_ioapic(); | 659 | check_ioapic(); |
660 | 660 | ||
661 | #ifdef CONFIG_ACPI_BOOT | 661 | #ifdef CONFIG_ACPI |
662 | /* | 662 | /* |
663 | * Read APIC and some other early information from ACPI tables. | 663 | * Read APIC and some other early information from ACPI tables. |
664 | */ | 664 | */ |
diff --git a/drivers/Makefile b/drivers/Makefile index 126a851d565..784b93c8888 100644 --- a/drivers/Makefile +++ b/drivers/Makefile | |||
@@ -8,7 +8,7 @@ | |||
8 | obj-$(CONFIG_PCI) += pci/ | 8 | obj-$(CONFIG_PCI) += pci/ |
9 | obj-$(CONFIG_PARISC) += parisc/ | 9 | obj-$(CONFIG_PARISC) += parisc/ |
10 | obj-y += video/ | 10 | obj-y += video/ |
11 | obj-$(CONFIG_ACPI_BOOT) += acpi/ | 11 | obj-$(CONFIG_ACPI) += acpi/ |
12 | # PnP must come after ACPI since it will eventually need to check if acpi | 12 | # PnP must come after ACPI since it will eventually need to check if acpi |
13 | # was used and do nothing if so | 13 | # was used and do nothing if so |
14 | obj-$(CONFIG_PNP) += pnp/ | 14 | obj-$(CONFIG_PNP) += pnp/ |
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 66c60982ba4..14b70c259f3 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -43,10 +43,6 @@ config ACPI | |||
43 | 43 | ||
44 | if ACPI | 44 | if ACPI |
45 | 45 | ||
46 | config ACPI_BOOT | ||
47 | bool | ||
48 | default y | ||
49 | |||
50 | config ACPI_INTERPRETER | 46 | config ACPI_INTERPRETER |
51 | bool | 47 | bool |
52 | default y | 48 | default y |
@@ -312,7 +308,7 @@ endif # ACPI_INTERPRETER | |||
312 | config X86_PM_TIMER | 308 | config X86_PM_TIMER |
313 | bool "Power Management Timer Support" | 309 | bool "Power Management Timer Support" |
314 | depends on X86 | 310 | depends on X86 |
315 | depends on ACPI_BOOT && EXPERIMENTAL | 311 | depends on EXPERIMENTAL |
316 | depends on !X86_64 | 312 | depends on !X86_64 |
317 | default n | 313 | default n |
318 | help | 314 | help |
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index ad67e8f61e6..952ab352af9 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile | |||
@@ -15,7 +15,7 @@ EXTRA_CFLAGS += $(ACPI_CFLAGS) | |||
15 | # | 15 | # |
16 | # ACPI Boot-Time Table Parsing | 16 | # ACPI Boot-Time Table Parsing |
17 | # | 17 | # |
18 | obj-$(CONFIG_ACPI_BOOT) += tables.o | 18 | obj-y += tables.o |
19 | obj-$(CONFIG_ACPI_INTERPRETER) += blacklist.o | 19 | obj-$(CONFIG_ACPI_INTERPRETER) += blacklist.o |
20 | 20 | ||
21 | # | 21 | # |
diff --git a/include/asm-i386/acpi.h b/include/asm-i386/acpi.h index cf828ace13f..1f1ade923d6 100644 --- a/include/asm-i386/acpi.h +++ b/include/asm-i386/acpi.h | |||
@@ -103,7 +103,7 @@ __acpi_release_global_lock (unsigned int *lock) | |||
103 | :"=r"(n_hi), "=r"(n_lo) \ | 103 | :"=r"(n_hi), "=r"(n_lo) \ |
104 | :"0"(n_hi), "1"(n_lo)) | 104 | :"0"(n_hi), "1"(n_lo)) |
105 | 105 | ||
106 | #ifdef CONFIG_ACPI_BOOT | 106 | #ifdef CONFIG_ACPI |
107 | extern int acpi_lapic; | 107 | extern int acpi_lapic; |
108 | extern int acpi_ioapic; | 108 | extern int acpi_ioapic; |
109 | extern int acpi_noirq; | 109 | extern int acpi_noirq; |
@@ -146,7 +146,7 @@ static inline void check_acpi_pci(void) { } | |||
146 | 146 | ||
147 | #endif | 147 | #endif |
148 | 148 | ||
149 | #else /* CONFIG_ACPI_BOOT */ | 149 | #else /* !CONFIG_ACPI */ |
150 | # define acpi_lapic 0 | 150 | # define acpi_lapic 0 |
151 | # define acpi_ioapic 0 | 151 | # define acpi_ioapic 0 |
152 | 152 | ||
diff --git a/include/asm-i386/fixmap.h b/include/asm-i386/fixmap.h index c94cac95838..cfb1c61d3b9 100644 --- a/include/asm-i386/fixmap.h +++ b/include/asm-i386/fixmap.h | |||
@@ -76,7 +76,7 @@ enum fixed_addresses { | |||
76 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ | 76 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ |
77 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, | 77 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, |
78 | #endif | 78 | #endif |
79 | #ifdef CONFIG_ACPI_BOOT | 79 | #ifdef CONFIG_ACPI |
80 | FIX_ACPI_BEGIN, | 80 | FIX_ACPI_BEGIN, |
81 | FIX_ACPI_END = FIX_ACPI_BEGIN + FIX_ACPI_PAGES - 1, | 81 | FIX_ACPI_END = FIX_ACPI_BEGIN + FIX_ACPI_PAGES - 1, |
82 | #endif | 82 | #endif |
diff --git a/include/asm-i386/io_apic.h b/include/asm-i386/io_apic.h index 002c203ccd6..51c4e5fe606 100644 --- a/include/asm-i386/io_apic.h +++ b/include/asm-i386/io_apic.h | |||
@@ -195,12 +195,12 @@ extern int skip_ioapic_setup; | |||
195 | */ | 195 | */ |
196 | #define io_apic_assign_pci_irqs (mp_irq_entries && !skip_ioapic_setup && io_apic_irqs) | 196 | #define io_apic_assign_pci_irqs (mp_irq_entries && !skip_ioapic_setup && io_apic_irqs) |
197 | 197 | ||
198 | #ifdef CONFIG_ACPI_BOOT | 198 | #ifdef CONFIG_ACPI |
199 | extern int io_apic_get_unique_id (int ioapic, int apic_id); | 199 | extern int io_apic_get_unique_id (int ioapic, int apic_id); |
200 | extern int io_apic_get_version (int ioapic); | 200 | extern int io_apic_get_version (int ioapic); |
201 | extern int io_apic_get_redir_entries (int ioapic); | 201 | extern int io_apic_get_redir_entries (int ioapic); |
202 | extern int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int active_high_low); | 202 | extern int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int active_high_low); |
203 | #endif /*CONFIG_ACPI_BOOT*/ | 203 | #endif /* CONFIG_ACPI */ |
204 | 204 | ||
205 | extern int (*ioapic_renumber_irq)(int ioapic, int irq); | 205 | extern int (*ioapic_renumber_irq)(int ioapic, int irq); |
206 | 206 | ||
diff --git a/include/asm-i386/mpspec.h b/include/asm-i386/mpspec.h index d9fafba075b..b9e9f66d272 100644 --- a/include/asm-i386/mpspec.h +++ b/include/asm-i386/mpspec.h | |||
@@ -26,14 +26,14 @@ extern unsigned long mp_lapic_addr; | |||
26 | extern int pic_mode; | 26 | extern int pic_mode; |
27 | extern int using_apic_timer; | 27 | extern int using_apic_timer; |
28 | 28 | ||
29 | #ifdef CONFIG_ACPI_BOOT | 29 | #ifdef CONFIG_ACPI |
30 | extern void mp_register_lapic (u8 id, u8 enabled); | 30 | extern void mp_register_lapic (u8 id, u8 enabled); |
31 | extern void mp_register_lapic_address (u64 address); | 31 | extern void mp_register_lapic_address (u64 address); |
32 | extern void mp_register_ioapic (u8 id, u32 address, u32 gsi_base); | 32 | extern void mp_register_ioapic (u8 id, u32 address, u32 gsi_base); |
33 | extern void mp_override_legacy_irq (u8 bus_irq, u8 polarity, u8 trigger, u32 gsi); | 33 | extern void mp_override_legacy_irq (u8 bus_irq, u8 polarity, u8 trigger, u32 gsi); |
34 | extern void mp_config_acpi_legacy_irqs (void); | 34 | extern void mp_config_acpi_legacy_irqs (void); |
35 | extern int mp_register_gsi (u32 gsi, int edge_level, int active_high_low); | 35 | extern int mp_register_gsi (u32 gsi, int edge_level, int active_high_low); |
36 | #endif /*CONFIG_ACPI_BOOT*/ | 36 | #endif /* CONFIG_ACPI */ |
37 | 37 | ||
38 | #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS) | 38 | #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS) |
39 | 39 | ||
diff --git a/include/asm-x86_64/acpi.h b/include/asm-x86_64/acpi.h index dc8c981af27..7d537e1867c 100644 --- a/include/asm-x86_64/acpi.h +++ b/include/asm-x86_64/acpi.h | |||
@@ -101,7 +101,7 @@ __acpi_release_global_lock (unsigned int *lock) | |||
101 | :"=r"(n_hi), "=r"(n_lo) \ | 101 | :"=r"(n_hi), "=r"(n_lo) \ |
102 | :"0"(n_hi), "1"(n_lo)) | 102 | :"0"(n_hi), "1"(n_lo)) |
103 | 103 | ||
104 | #ifdef CONFIG_ACPI_BOOT | 104 | #ifdef CONFIG_ACPI |
105 | extern int acpi_lapic; | 105 | extern int acpi_lapic; |
106 | extern int acpi_ioapic; | 106 | extern int acpi_ioapic; |
107 | extern int acpi_noirq; | 107 | extern int acpi_noirq; |
@@ -122,10 +122,10 @@ static inline void disable_acpi(void) | |||
122 | 122 | ||
123 | extern int acpi_gsi_to_irq(u32 gsi, unsigned int *irq); | 123 | extern int acpi_gsi_to_irq(u32 gsi, unsigned int *irq); |
124 | 124 | ||
125 | #else /* !CONFIG_ACPI_BOOT */ | 125 | #else /* !CONFIG_ACPI */ |
126 | #define acpi_lapic 0 | 126 | #define acpi_lapic 0 |
127 | #define acpi_ioapic 0 | 127 | #define acpi_ioapic 0 |
128 | #endif /* !CONFIG_ACPI_BOOT */ | 128 | #endif /* !CONFIG_ACPI */ |
129 | 129 | ||
130 | extern int acpi_numa; | 130 | extern int acpi_numa; |
131 | extern int acpi_scan_nodes(unsigned long start, unsigned long end); | 131 | extern int acpi_scan_nodes(unsigned long start, unsigned long end); |
diff --git a/include/asm-x86_64/io_apic.h b/include/asm-x86_64/io_apic.h index a8babd2bbe8..ee1bc69aec9 100644 --- a/include/asm-x86_64/io_apic.h +++ b/include/asm-x86_64/io_apic.h | |||
@@ -201,7 +201,7 @@ extern int skip_ioapic_setup; | |||
201 | */ | 201 | */ |
202 | #define io_apic_assign_pci_irqs (mp_irq_entries && !skip_ioapic_setup && io_apic_irqs) | 202 | #define io_apic_assign_pci_irqs (mp_irq_entries && !skip_ioapic_setup && io_apic_irqs) |
203 | 203 | ||
204 | #ifdef CONFIG_ACPI_BOOT | 204 | #ifdef CONFIG_ACPI |
205 | extern int io_apic_get_version (int ioapic); | 205 | extern int io_apic_get_version (int ioapic); |
206 | extern int io_apic_get_redir_entries (int ioapic); | 206 | extern int io_apic_get_redir_entries (int ioapic); |
207 | extern int io_apic_set_pci_routing (int ioapic, int pin, int irq, int, int); | 207 | extern int io_apic_set_pci_routing (int ioapic, int pin, int irq, int, int); |
diff --git a/include/asm-x86_64/mpspec.h b/include/asm-x86_64/mpspec.h index 331f6a3c72a..f267e10c023 100644 --- a/include/asm-x86_64/mpspec.h +++ b/include/asm-x86_64/mpspec.h | |||
@@ -179,7 +179,7 @@ extern int mpc_default_type; | |||
179 | extern unsigned long mp_lapic_addr; | 179 | extern unsigned long mp_lapic_addr; |
180 | extern int pic_mode; | 180 | extern int pic_mode; |
181 | 181 | ||
182 | #ifdef CONFIG_ACPI_BOOT | 182 | #ifdef CONFIG_ACPI |
183 | extern void mp_register_lapic (u8 id, u8 enabled); | 183 | extern void mp_register_lapic (u8 id, u8 enabled); |
184 | extern void mp_register_lapic_address (u64 address); | 184 | extern void mp_register_lapic_address (u64 address); |
185 | 185 | ||
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index fd48db320f5..fa1ad1a60a0 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -41,7 +41,7 @@ | |||
41 | #include <asm/acpi.h> | 41 | #include <asm/acpi.h> |
42 | 42 | ||
43 | 43 | ||
44 | #ifdef CONFIG_ACPI_BOOT | 44 | #ifdef CONFIG_ACPI |
45 | 45 | ||
46 | enum acpi_irq_model_id { | 46 | enum acpi_irq_model_id { |
47 | ACPI_IRQ_MODEL_PIC = 0, | 47 | ACPI_IRQ_MODEL_PIC = 0, |
@@ -429,11 +429,11 @@ extern int pci_mmcfg_config_num; | |||
429 | 429 | ||
430 | extern int sbf_port ; | 430 | extern int sbf_port ; |
431 | 431 | ||
432 | #else /*!CONFIG_ACPI_BOOT*/ | 432 | #else /* !CONFIG_ACPI */ |
433 | 433 | ||
434 | #define acpi_mp_config 0 | 434 | #define acpi_mp_config 0 |
435 | 435 | ||
436 | #endif /*!CONFIG_ACPI_BOOT*/ | 436 | #endif /* !CONFIG_ACPI */ |
437 | 437 | ||
438 | int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low); | 438 | int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low); |
439 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); | 439 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); |