aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Kconfig
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2013-02-22 08:12:22 -0500
committerH. Peter Anvin <hpa@linux.intel.com>2013-02-25 13:47:09 -0500
commit565d956a7e191e95d81f515196951715f2616e6b (patch)
tree0ce44573f050f90379acd72e4df3e43b5b63e6b8 /drivers/acpi/Kconfig
parenta8aed3e0752b4beb2e37cbed6df69faae88268da (diff)
ACPI: Overriding ACPI tables via initrd only works with an initrd and on X86
Reflect this dependency in Kconfig, to prevent build failures. Shorten the config description as suggested by Borislav Petkov. Finding a suitable memory area to store the modified table(s) has been taken over from arch/x86/kernel/setup.c and makes use of max_low_pfn_mapped: memblock_find_in_range(0, max_low_pfn_mapped,...) This one is X86 specific. It may not be hard to extend this functionality for other ACPI aware architectures if there is need for. For now make this feature only available for X86 to avoid build failures on IA64, compare with: https://bugzilla.kernel.org/show_bug.cgi?id=54091 Signed-off-by: Thomas Renninger <trenn@suse.de> Link: http://lkml.kernel.org/r/1361538742-67599-3-git-send-email-trenn@suse.de Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r--drivers/acpi/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 38c5078da11d..f5ae996dc9b1 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -268,7 +268,8 @@ config ACPI_CUSTOM_DSDT
268 default ACPI_CUSTOM_DSDT_FILE != "" 268 default ACPI_CUSTOM_DSDT_FILE != ""
269 269
270config ACPI_INITRD_TABLE_OVERRIDE 270config ACPI_INITRD_TABLE_OVERRIDE
271 bool "ACPI tables can be passed via uncompressed cpio in initrd" 271 bool "ACPI tables override via initrd"
272 depends on BLK_DEV_INITRD && X86
272 default n 273 default n
273 help 274 help
274 This option provides functionality to override arbitrary ACPI tables 275 This option provides functionality to override arbitrary ACPI tables