diff options
-rw-r--r-- | drivers/acpi/Kconfig | 13 | ||||
-rw-r--r-- | include/acpi/platform/aclinux.h | 6 |
2 files changed, 19 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 4770de5707b9..9fd6a7a124c0 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -343,6 +343,19 @@ config ACPI_BGRT | |||
343 | data from the firmware boot splash. It will appear under | 343 | data from the firmware boot splash. It will appear under |
344 | /sys/firmware/acpi/bgrt/ . | 344 | /sys/firmware/acpi/bgrt/ . |
345 | 345 | ||
346 | config ACPI_REDUCED_HARDWARE_ONLY | ||
347 | bool "Hardware-reduced ACPI support only" if EXPERT | ||
348 | def_bool n | ||
349 | depends on ACPI | ||
350 | help | ||
351 | This config item changes the way the ACPI code is built. When this | ||
352 | option is selected, the kernel will use a specialized version of | ||
353 | ACPICA that ONLY supports the ACPI "reduced hardware" mode. The | ||
354 | resulting kernel will be smaller but it will also be restricted to | ||
355 | running in ACPI reduced hardware mode ONLY. | ||
356 | |||
357 | If you are unsure what to do, do not enable this option. | ||
358 | |||
346 | source "drivers/acpi/apei/Kconfig" | 359 | source "drivers/acpi/apei/Kconfig" |
347 | 360 | ||
348 | config ACPI_EXTLOG | 361 | config ACPI_EXTLOG |
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 008aa287c7a9..30c9a7c1af88 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -52,6 +52,12 @@ | |||
52 | 52 | ||
53 | #ifdef __KERNEL__ | 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 | #include <linux/string.h> | 61 | #include <linux/string.h> |
56 | #include <linux/kernel.h> | 62 | #include <linux/kernel.h> |
57 | #include <linux/ctype.h> | 63 | #include <linux/ctype.h> |