Skip to content

Commit 5bcd440

Browse files
AKASHI Takahirowildea01
authored andcommitted
drivers: acpi: add dependency of EFI for arm64
As Ard suggested, CONFIG_ACPI && !CONFIG_EFI doesn't make sense on arm64, while CONFIG_ACPI and CONFIG_CPU_BIG_ENDIAN doesn't make sense either. As CONFIG_EFI already has a dependency of !CONFIG_CPU_BIG_ENDIAN, it is good enough to add a dependency of CONFIG_EFI to avoid any useless combination of configuration. This bug, reported by Will, will be revealed when my patch series, "arm64: kexec,kdump: fix boot failures on acpi-only system," is applied and the kernel is built under allmodconfig. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
1 parent 50d7ba3 commit 5bcd440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
menuconfig ACPI
77
bool "ACPI (Advanced Configuration and Power Interface) Support"
88
depends on !IA64_HP_SIM
9-
depends on IA64 || X86 || ARM64
9+
depends on IA64 || X86 || (ARM64 && EFI)
1010
depends on PCI
1111
select PNP
1212
default y if (IA64 || X86)

0 commit comments

Comments
 (0)