diff options
-rw-r--r-- | arch/i386/defconfig | 1 | ||||
-rw-r--r-- | arch/i386/kernel/acpi/boot.c | 8 | ||||
-rw-r--r-- | arch/i386/kernel/mpparse.c | 4 | ||||
-rw-r--r-- | arch/i386/kernel/setup.c | 2 | ||||
-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/x86_64/defconfig | 1 | ||||
-rw-r--r-- | drivers/acpi/Kconfig | 10 | ||||
-rw-r--r-- | drivers/acpi/Makefile | 4 | ||||
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 6 | ||||
-rw-r--r-- | include/linux/acpi.h | 11 |
15 files changed, 13 insertions, 43 deletions
diff --git a/arch/i386/defconfig b/arch/i386/defconfig index 1c0076e22dda..f137a32634ac 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_INTERPRETER=y | ||
135 | CONFIG_ACPI_SLEEP=y | 134 | CONFIG_ACPI_SLEEP=y |
136 | CONFIG_ACPI_SLEEP_PROC_FS=y | 135 | CONFIG_ACPI_SLEEP_PROC_FS=y |
137 | CONFIG_ACPI_AC=y | 136 | CONFIG_ACPI_AC=y |
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c index 09700d894668..84befaecedf8 100644 --- a/arch/i386/kernel/acpi/boot.c +++ b/arch/i386/kernel/acpi/boot.c | |||
@@ -303,7 +303,7 @@ acpi_parse_lapic_nmi(acpi_table_entry_header * header, const unsigned long end) | |||
303 | 303 | ||
304 | #endif /*CONFIG_X86_LOCAL_APIC */ | 304 | #endif /*CONFIG_X86_LOCAL_APIC */ |
305 | 305 | ||
306 | #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_ACPI_INTERPRETER) | 306 | #ifdef CONFIG_X86_IO_APIC |
307 | 307 | ||
308 | static int __init | 308 | static int __init |
309 | acpi_parse_ioapic(acpi_table_entry_header * header, const unsigned long end) | 309 | acpi_parse_ioapic(acpi_table_entry_header * header, const unsigned long end) |
@@ -634,10 +634,8 @@ static int __init acpi_parse_fadt(unsigned long phys, unsigned long size) | |||
634 | printk(KERN_WARNING PREFIX "Unable to map FADT\n"); | 634 | printk(KERN_WARNING PREFIX "Unable to map FADT\n"); |
635 | return 0; | 635 | return 0; |
636 | } | 636 | } |
637 | #ifdef CONFIG_ACPI_INTERPRETER | ||
638 | /* initialize sci_int early for INT_SRC_OVR MADT parsing */ | 637 | /* initialize sci_int early for INT_SRC_OVR MADT parsing */ |
639 | acpi_fadt.sci_int = fadt->sci_int; | 638 | acpi_fadt.sci_int = fadt->sci_int; |
640 | #endif | ||
641 | 639 | ||
642 | #ifdef CONFIG_ACPI_BUS | 640 | #ifdef CONFIG_ACPI_BUS |
643 | /* initialize rev and apic_phys_dest_mode for x86_64 genapic */ | 641 | /* initialize rev and apic_phys_dest_mode for x86_64 genapic */ |
@@ -735,7 +733,7 @@ static int __init acpi_parse_madt_lapic_entries(void) | |||
735 | } | 733 | } |
736 | #endif /* CONFIG_X86_LOCAL_APIC */ | 734 | #endif /* CONFIG_X86_LOCAL_APIC */ |
737 | 735 | ||
738 | #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_ACPI_INTERPRETER) | 736 | #ifdef CONFIG_X86_IO_APIC |
739 | /* | 737 | /* |
740 | * Parse IOAPIC related entries in MADT | 738 | * Parse IOAPIC related entries in MADT |
741 | * returns 0 on success, < 0 on error | 739 | * returns 0 on success, < 0 on error |
@@ -810,7 +808,7 @@ static inline int acpi_parse_madt_ioapic_entries(void) | |||
810 | { | 808 | { |
811 | return -1; | 809 | return -1; |
812 | } | 810 | } |
813 | #endif /* !(CONFIG_X86_IO_APIC && CONFIG_ACPI_INTERPRETER) */ | 811 | #endif /* !CONFIG_X86_IO_APIC */ |
814 | 812 | ||
815 | static void __init acpi_process_madt(void) | 813 | static void __init acpi_process_madt(void) |
816 | { | 814 | { |
diff --git a/arch/i386/kernel/mpparse.c b/arch/i386/kernel/mpparse.c index 9a4db7d30001..db90d141481d 100644 --- a/arch/i386/kernel/mpparse.c +++ b/arch/i386/kernel/mpparse.c | |||
@@ -854,7 +854,7 @@ void __init mp_register_lapic ( | |||
854 | MP_processor_info(&processor); | 854 | MP_processor_info(&processor); |
855 | } | 855 | } |
856 | 856 | ||
857 | #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_ACPI_INTERPRETER) | 857 | #ifdef CONFIG_X86_IO_APIC |
858 | 858 | ||
859 | #define MP_ISA_BUS 0 | 859 | #define MP_ISA_BUS 0 |
860 | #define MP_MAX_IOAPIC_PIN 127 | 860 | #define MP_MAX_IOAPIC_PIN 127 |
@@ -1136,5 +1136,5 @@ int mp_register_gsi (u32 gsi, int edge_level, int active_high_low) | |||
1136 | return gsi; | 1136 | return gsi; |
1137 | } | 1137 | } |
1138 | 1138 | ||
1139 | #endif /* CONFIG_X86_IO_APIC && CONFIG_ACPI_INTERPRETER */ | 1139 | #endif /* CONFIG_X86_IO_APIC */ |
1140 | #endif /* CONFIG_ACPI */ | 1140 | #endif /* CONFIG_ACPI */ |
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index d3943e5edc8f..d52eda399a7a 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c | |||
@@ -87,7 +87,7 @@ EXPORT_SYMBOL(boot_cpu_data); | |||
87 | 87 | ||
88 | unsigned long mmu_cr4_features; | 88 | unsigned long mmu_cr4_features; |
89 | 89 | ||
90 | #ifdef CONFIG_ACPI_INTERPRETER | 90 | #ifdef CONFIG_ACPI |
91 | int acpi_disabled = 0; | 91 | int acpi_disabled = 0; |
92 | #else | 92 | #else |
93 | int acpi_disabled = 1; | 93 | int acpi_disabled = 1; |
diff --git a/arch/i386/mach-es7000/es7000plat.c b/arch/i386/mach-es7000/es7000plat.c index baac9da042ce..f549c0efdb9f 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) | 54 | #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_ACPI) |
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) | 76 | #endif /* (CONFIG_X86_IO_APIC) && (CONFIG_ACPI) */ |
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 456c65689bef..2c3ba6a6ec7f 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_INTERPRETER=y | ||
111 | CONFIG_ACPI_BUTTON=m | 110 | CONFIG_ACPI_BUTTON=m |
112 | CONFIG_ACPI_VIDEO=m | 111 | CONFIG_ACPI_VIDEO=m |
113 | CONFIG_ACPI_FAN=m | 112 | CONFIG_ACPI_FAN=m |
diff --git a/arch/ia64/configs/sn2_defconfig b/arch/ia64/configs/sn2_defconfig index dc483c18343f..6a0c114e086a 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_INTERPRETER=y | ||
134 | # CONFIG_ACPI_BUTTON is not set | 133 | # CONFIG_ACPI_BUTTON is not set |
135 | CONFIG_ACPI_VIDEO=m | 134 | CONFIG_ACPI_VIDEO=m |
136 | CONFIG_ACPI_HOTKEY=m | 135 | CONFIG_ACPI_HOTKEY=m |
diff --git a/arch/ia64/configs/tiger_defconfig b/arch/ia64/configs/tiger_defconfig index cd2d6375a853..dec24a6de6a4 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_INTERPRETER=y | ||
132 | CONFIG_ACPI_BUTTON=m | 131 | CONFIG_ACPI_BUTTON=m |
133 | # CONFIG_ACPI_VIDEO is not set | 132 | # CONFIG_ACPI_VIDEO is not set |
134 | # CONFIG_ACPI_HOTKEY is not set | 133 | # CONFIG_ACPI_HOTKEY is not set |
diff --git a/arch/ia64/configs/zx1_defconfig b/arch/ia64/configs/zx1_defconfig index cf58404769a8..d318087bfcbd 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_INTERPRETER=y | ||
132 | CONFIG_ACPI_BUTTON=y | 131 | CONFIG_ACPI_BUTTON=y |
133 | CONFIG_ACPI_VIDEO=m | 132 | CONFIG_ACPI_VIDEO=m |
134 | CONFIG_ACPI_HOTKEY=m | 133 | CONFIG_ACPI_HOTKEY=m |
diff --git a/arch/ia64/defconfig b/arch/ia64/defconfig index f38c677f7afd..e6d34df7d2ff 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_INTERPRETER=y | ||
122 | CONFIG_ACPI_BUTTON=m | 121 | CONFIG_ACPI_BUTTON=m |
123 | CONFIG_ACPI_VIDEO=m | 122 | CONFIG_ACPI_VIDEO=m |
124 | CONFIG_ACPI_FAN=m | 123 | CONFIG_ACPI_FAN=m |
diff --git a/arch/x86_64/defconfig b/arch/x86_64/defconfig index aed77c1c5ccc..8ccb4a12eed5 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_INTERPRETER=y | ||
139 | CONFIG_ACPI_AC=y | 138 | CONFIG_ACPI_AC=y |
140 | CONFIG_ACPI_BATTERY=y | 139 | CONFIG_ACPI_BATTERY=y |
141 | CONFIG_ACPI_BUTTON=y | 140 | CONFIG_ACPI_BUTTON=y |
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 14b70c259f3e..f023a88ca398 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -43,12 +43,6 @@ config ACPI | |||
43 | 43 | ||
44 | if ACPI | 44 | if ACPI |
45 | 45 | ||
46 | config ACPI_INTERPRETER | ||
47 | bool | ||
48 | default y | ||
49 | |||
50 | if ACPI_INTERPRETER | ||
51 | |||
52 | config ACPI_SLEEP | 46 | config ACPI_SLEEP |
53 | bool "Sleep States (EXPERIMENTAL)" | 47 | bool "Sleep States (EXPERIMENTAL)" |
54 | depends on X86 && (!SMP || SUSPEND_SMP) | 48 | depends on X86 && (!SMP || SUSPEND_SMP) |
@@ -126,7 +120,6 @@ config ACPI_VIDEO | |||
126 | 120 | ||
127 | config ACPI_HOTKEY | 121 | config ACPI_HOTKEY |
128 | tristate "Generic Hotkey" | 122 | tristate "Generic Hotkey" |
129 | depends on ACPI_INTERPRETER | ||
130 | depends on EXPERIMENTAL | 123 | depends on EXPERIMENTAL |
131 | depends on !IA64_SGI_SN | 124 | depends on !IA64_SGI_SN |
132 | default n | 125 | default n |
@@ -257,7 +250,6 @@ config ACPI_CUSTOM_DSDT_FILE | |||
257 | 250 | ||
258 | config ACPI_BLACKLIST_YEAR | 251 | config ACPI_BLACKLIST_YEAR |
259 | int "Disable ACPI for systems before Jan 1st this year" | 252 | int "Disable ACPI for systems before Jan 1st this year" |
260 | depends on ACPI_INTERPRETER | ||
261 | default 0 | 253 | default 0 |
262 | help | 254 | help |
263 | enter a 4-digit year, eg. 2001 to disable ACPI by default | 255 | enter a 4-digit year, eg. 2001 to disable ACPI by default |
@@ -303,8 +295,6 @@ config ACPI_SYSTEM | |||
303 | This driver will enable your system to shut down using ACPI, and | 295 | This driver will enable your system to shut down using ACPI, and |
304 | dump your ACPI DSDT table using /proc/acpi/dsdt. | 296 | dump your ACPI DSDT table using /proc/acpi/dsdt. |
305 | 297 | ||
306 | endif # ACPI_INTERPRETER | ||
307 | |||
308 | config X86_PM_TIMER | 298 | config X86_PM_TIMER |
309 | bool "Power Management Timer Support" | 299 | bool "Power Management Timer Support" |
310 | depends on X86 | 300 | depends on X86 |
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index 952ab352af9e..060afaf962a3 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile | |||
@@ -16,12 +16,12 @@ EXTRA_CFLAGS += $(ACPI_CFLAGS) | |||
16 | # ACPI Boot-Time Table Parsing | 16 | # ACPI Boot-Time Table Parsing |
17 | # | 17 | # |
18 | obj-y += tables.o | 18 | obj-y += tables.o |
19 | obj-$(CONFIG_ACPI_INTERPRETER) += blacklist.o | 19 | obj-y += blacklist.o |
20 | 20 | ||
21 | # | 21 | # |
22 | # ACPI Core Subsystem (Interpreter) | 22 | # ACPI Core Subsystem (Interpreter) |
23 | # | 23 | # |
24 | obj-$(CONFIG_ACPI_INTERPRETER) += osl.o utils.o \ | 24 | obj-y += osl.o utils.o \ |
25 | dispatcher/ events/ executer/ hardware/ \ | 25 | dispatcher/ events/ executer/ hardware/ \ |
26 | namespace/ parser/ resources/ tables/ \ | 26 | namespace/ parser/ resources/ tables/ \ |
27 | utilities/ | 27 | utilities/ |
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index a44b97304e95..c51b02d9dfd0 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -986,7 +986,7 @@ MODULE_PARM_DESC(slave_addrs, "Set the default IPMB slave address for" | |||
986 | #define IPMI_MEM_ADDR_SPACE 1 | 986 | #define IPMI_MEM_ADDR_SPACE 1 |
987 | #define IPMI_IO_ADDR_SPACE 2 | 987 | #define IPMI_IO_ADDR_SPACE 2 |
988 | 988 | ||
989 | #if defined(CONFIG_ACPI_INTERPRETER) || defined(CONFIG_X86) || defined(CONFIG_PCI) | 989 | #if defined(CONFIG_ACPI) || defined(CONFIG_X86) || defined(CONFIG_PCI) |
990 | static int is_new_interface(int intf, u8 addr_space, unsigned long base_addr) | 990 | static int is_new_interface(int intf, u8 addr_space, unsigned long base_addr) |
991 | { | 991 | { |
992 | int i; | 992 | int i; |
@@ -1362,7 +1362,7 @@ static int try_init_mem(int intf_num, struct smi_info **new_info) | |||
1362 | } | 1362 | } |
1363 | 1363 | ||
1364 | 1364 | ||
1365 | #ifdef CONFIG_ACPI_INTERPRETER | 1365 | #ifdef CONFIG_ACPI |
1366 | 1366 | ||
1367 | #include <linux/acpi.h> | 1367 | #include <linux/acpi.h> |
1368 | 1368 | ||
@@ -2067,7 +2067,7 @@ static int init_one_smi(int intf_num, struct smi_info **smi) | |||
2067 | rv = try_init_mem(intf_num, &new_smi); | 2067 | rv = try_init_mem(intf_num, &new_smi); |
2068 | if (rv) | 2068 | if (rv) |
2069 | rv = try_init_port(intf_num, &new_smi); | 2069 | rv = try_init_port(intf_num, &new_smi); |
2070 | #ifdef CONFIG_ACPI_INTERPRETER | 2070 | #ifdef CONFIG_ACPI |
2071 | if ((rv) && (si_trydefaults)) { | 2071 | if ((rv) && (si_trydefaults)) { |
2072 | rv = try_init_acpi(intf_num, &new_smi); | 2072 | rv = try_init_acpi(intf_num, &new_smi); |
2073 | } | 2073 | } |
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index fa1ad1a60a09..6882b32aa40f 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -488,20 +488,9 @@ extern int ec_write(u8 addr, u8 val); | |||
488 | 488 | ||
489 | #endif /*CONFIG_ACPI_EC*/ | 489 | #endif /*CONFIG_ACPI_EC*/ |
490 | 490 | ||
491 | #ifdef CONFIG_ACPI_INTERPRETER | ||
492 | |||
493 | extern int acpi_blacklisted(void); | 491 | extern int acpi_blacklisted(void); |
494 | extern void acpi_bios_year(char *s); | 492 | extern void acpi_bios_year(char *s); |
495 | 493 | ||
496 | #else /*!CONFIG_ACPI_INTERPRETER*/ | ||
497 | |||
498 | static inline int acpi_blacklisted(void) | ||
499 | { | ||
500 | return 0; | ||
501 | } | ||
502 | |||
503 | #endif /*!CONFIG_ACPI_INTERPRETER*/ | ||
504 | |||
505 | #define ACPI_CSTATE_LIMIT_DEFINED /* for driver builds */ | 494 | #define ACPI_CSTATE_LIMIT_DEFINED /* for driver builds */ |
506 | #ifdef CONFIG_ACPI | 495 | #ifdef CONFIG_ACPI |
507 | 496 | ||