Commit 75c44eddcb4989b85826143bc09fd3ad120abd4e
Exists in
master
and in
13 other branches
Merge branch 'acpi-config'
* acpi-config: ACPI: Remove Kconfig symbol ACPI_PROCFS ACPI / APEI: Remove X86 redundant dependency for APEI GHES. ACPI: introduce CONFIG_ACPI_REDUCED_HARDWARE_ONLY
Showing 8 changed files Side-by-side Diff
arch/ia64/configs/generic_defconfig
arch/ia64/configs/tiger_defconfig
arch/ia64/configs/zx1_defconfig
arch/x86/configs/i386_defconfig
arch/x86/configs/x86_64_defconfig
drivers/acpi/Kconfig
... | ... | @@ -43,19 +43,6 @@ |
43 | 43 | depends on SUSPEND || HIBERNATION |
44 | 44 | default y |
45 | 45 | |
46 | -config ACPI_PROCFS | |
47 | - bool "Deprecated /proc/acpi files" | |
48 | - depends on PROC_FS | |
49 | - help | |
50 | - For backwards compatibility, this option allows | |
51 | - deprecated /proc/acpi/ files to exist, even when | |
52 | - they have been replaced by functions in /sys. | |
53 | - | |
54 | - This option has no effect on /proc/acpi/ files | |
55 | - and functions which do not yet exist in /sys. | |
56 | - | |
57 | - Say N to delete /proc/acpi/ files that have moved to /sys/ | |
58 | - | |
59 | 46 | config ACPI_EC_DEBUGFS |
60 | 47 | tristate "EC read/write access through /sys/kernel/debug/ec" |
61 | 48 | default n |
... | ... | @@ -342,6 +329,19 @@ |
342 | 329 | Resource Table, which allows the operating system to obtain |
343 | 330 | data from the firmware boot splash. It will appear under |
344 | 331 | /sys/firmware/acpi/bgrt/ . |
332 | + | |
333 | +config ACPI_REDUCED_HARDWARE_ONLY | |
334 | + bool "Hardware-reduced ACPI support only" if EXPERT | |
335 | + def_bool n | |
336 | + depends on ACPI | |
337 | + help | |
338 | + This config item changes the way the ACPI code is built. When this | |
339 | + option is selected, the kernel will use a specialized version of | |
340 | + ACPICA that ONLY supports the ACPI "reduced hardware" mode. The | |
341 | + resulting kernel will be smaller but it will also be restricted to | |
342 | + running in ACPI reduced hardware mode ONLY. | |
343 | + | |
344 | + If you are unsure what to do, do not enable this option. | |
345 | 345 | |
346 | 346 | source "drivers/acpi/apei/Kconfig" |
347 | 347 |
drivers/acpi/apei/Kconfig
include/acpi/platform/aclinux.h
... | ... | @@ -52,6 +52,12 @@ |
52 | 52 | |
53 | 53 | #ifdef __KERNEL__ |
54 | 54 | |
55 | +/* Compile for reduced hardware mode only with this kernel config */ | |
56 | + | |
57 | +#ifdef CONFIG_ACPI_REDUCED_HARDWARE_ONLY | |
58 | +#define ACPI_REDUCED_HARDWARE 1 | |
59 | +#endif | |
60 | + | |
55 | 61 | #include <linux/string.h> |
56 | 62 | #include <linux/kernel.h> |
57 | 63 | #include <linux/ctype.h> |