diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/Kconfig | 1 | ||||
-rw-r--r-- | arch/i386/defconfig | 1 | ||||
-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 | ||||
-rw-r--r-- | arch/i386/mach-es7000/es7000plat.c | 4 | ||||
-rw-r--r-- | arch/ia64/configs/bigsur_defconfig | 1 | ||||
-rw-r--r-- | arch/ia64/configs/sn2_defconfig | 1 | ||||
-rw-r--r-- | arch/ia64/configs/tiger_defconfig | 1 | ||||
-rw-r--r-- | arch/ia64/configs/zx1_defconfig | 1 | ||||
-rw-r--r-- | arch/ia64/defconfig | 1 | ||||
-rw-r--r-- | arch/ia64/kernel/acpi.c | 4 | ||||
-rw-r--r-- | arch/ia64/kernel/setup.c | 4 | ||||
-rw-r--r-- | arch/ia64/kernel/topology.c | 2 | ||||
-rw-r--r-- | arch/x86_64/Kconfig | 2 | ||||
-rw-r--r-- | arch/x86_64/defconfig | 1 | ||||
-rw-r--r-- | arch/x86_64/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/acpi/Makefile | 4 | ||||
-rw-r--r-- | arch/x86_64/kernel/io_apic.c | 4 | ||||
-rw-r--r-- | arch/x86_64/kernel/mpparse.c | 10 | ||||
-rw-r--r-- | arch/x86_64/kernel/setup.c | 8 |
23 files changed, 32 insertions, 46 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 619d843ba231..9ba334908742 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 ca07b95c06b8..1c0076e22dda 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 4cc83b322b36..c52b4fad011b 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 5e291a20c03d..267ca48e1b6c 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 6578f40bd501..ebedd2e21670 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 ce838abb27d8..9a4db7d30001 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 af4de58cab54..d3943e5edc8f 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 d5936d500479..baac9da042ce 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 b95fcf86ea00..456c65689bef 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 dccf35c60b94..dc483c18343f 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 c853cfcd2d11..cd2d6375a853 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 88e8867fa8e8..cf58404769a8 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 8444add76380..f38c677f7afd 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 78bc21987121..318787c84ac0 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 84f89da7c640..1f5c26dbe705 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 92ff46ad21e2..706b7734e191 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 660a03a89e66..40242c61e90a 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 776f3c866b70..aed77c1c5ccc 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 48f9e2c19cd6..0296ca6cbfa3 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 d2c2ee5f9a88..7da9ace890bd 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 d206d7e49cf5..1013a8fe44d7 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 79c362d03e2e..86445f320d86 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 116a491e2961..cfcebc8ab7b4 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 | */ |