[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201124090131.27257-1-lecopzer.chen@mediatek.com>
Date: Tue, 24 Nov 2020 17:01:31 +0800
From: Lecopzer Chen <lecopzer.chen@...iatek.com>
To: <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
CC: <catalin.marinas@....com>, <will@...nel.org>,
<matthias.bgg@...il.com>, <linux-mediatek@...ts.infradead.org>,
<yj.chiang@...iatek.com>,
Lecopzer Chen <lecopzer.chen@...iatek.com>
Subject: [PATCH] arm64: Kconfig: Add SYS_SUPPORTS_APM_EMULATION
From: "Lecopzer Chen" <lecopzer.chen@...iatek.com>
Although most of modern devices use ACPI, there still has combination
of APM + ARM64.
In order to select CONFIG_APM_EMULATION, make SYS_SUPPORTS_APM_EMULATION
default is y if ACPI isn't configured.
Signed-off-by: Lecopzer Chen <lecopzer.chen@...iatek.com>
Suggested-by: YJ Chiang <yj.chiang@...iatek.com>
---
arch/arm64/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 1515f6f153a0..5e9e3694015a 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -260,6 +260,9 @@ config NO_IOPORT_MAP
config STACKTRACE_SUPPORT
def_bool y
+config SYS_SUPPORTS_APM_EMULATION
+ def_bool y if !ACPI
+
config ILLEGAL_POINTER_VALUE
hex
default 0xdead000000000000
--
2.18.0
Powered by blists - more mailing lists