Skip to content

Commit 91dda51

Browse files
Aleksey Makarovrafaeljw
authored andcommitted
ACPI / tables: introduce ARCH_HAS_ACPI_TABLE_UPGRADE
We want to use the table upgrade feature in ARM64. Introduce a new configuration option that allows that. Signed-off-by: Aleksey Makarov <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 84b06ca commit 91dda51

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

arch/x86/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ config X86
2222
select ANON_INODES
2323
select ARCH_CLOCKSOURCE_DATA
2424
select ARCH_DISCARD_MEMBLOCK
25+
select ARCH_HAS_ACPI_TABLE_UPGRADE if ACPI
2526
select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
2627
select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
2728
select ARCH_HAS_DEVMEM_IS_ALLOWED

drivers/acpi/Kconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,12 @@ config ACPI_CUSTOM_DSDT
311311
bool
312312
default ACPI_CUSTOM_DSDT_FILE != ""
313313

314+
config ARCH_HAS_ACPI_TABLE_UPGRADE
315+
def_bool n
316+
314317
config ACPI_TABLE_UPGRADE
315318
bool "Allow upgrading ACPI tables via initrd"
316-
depends on BLK_DEV_INITRD && X86
319+
depends on BLK_DEV_INITRD && ARCH_HAS_ACPI_TABLE_UPGRADE
317320
default y
318321
help
319322
This option provides functionality to upgrade arbitrary ACPI tables

0 commit comments

Comments
 (0)