Commit-ID:  667b24d049e5dd643a351757fee1a17472cd1719
Gitweb:     https://git.kernel.org/tip/667b24d049e5dd643a351757fee1a17472cd1719
Author:     Palmer Dabbelt <pal...@sifive.com>
AuthorDate: Tue, 3 Apr 2018 21:31:28 -0700
Committer:  Thomas Gleixner <t...@linutronix.de>
CommitDate: Wed, 4 Apr 2018 12:04:28 +0200

arm64: Set CONFIG_MULTI_IRQ_HANDLER

arm has an optional MULTI_IRQ_HANDLER, which arm64 copied but didn't make
optional.  The multi irq handler infrastructure has been copied to generic
code selectable with a new config symbol. That symbol can be selected by
randconfig builds and can cause build breakage.

Introduce CONFIG_MULTI_IRQ_HANDLER as an intermediate step which prevents
the core config symbol from being selected. The arm64 local config symbol
will be removed once arm64 gets converted to the generic code.

Signed-off-by: Palmer Dabbelt <pal...@sifive.com>
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Arnd Bergmann <a...@arndb.de>
Link: https://lkml.kernel.org/r/20180404043130.31277-2-pal...@sifive.com

---
 arch/arm64/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 7381eeb7ef8e..302d0b681676 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -132,6 +132,7 @@ config ARM64
        select IRQ_DOMAIN
        select IRQ_FORCED_THREADING
        select MODULES_USE_ELF_RELA
+       select MULTI_IRQ_HANDLER
        select NO_BOOTMEM
        select OF
        select OF_EARLY_FLATTREE
@@ -275,6 +276,9 @@ config ARCH_SUPPORTS_UPROBES
 config ARCH_PROC_KCORE_TEXT
        def_bool y
 
+config MULTI_IRQ_HANDLER
+       def_bool y
+
 source "init/Kconfig"
 
 source "kernel/Kconfig.freezer"

Reply via email to