]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: Set CONFIG_MULTI_IRQ_HANDLER
authorPalmer Dabbelt <palmer@sifive.com>
Wed, 4 Apr 2018 04:31:28 +0000 (21:31 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 4 Apr 2018 10:04:28 +0000 (12:04 +0200)
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 <palmer@sifive.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lkml.kernel.org/r/20180404043130.31277-2-palmer@sifive.com
arch/arm64/Kconfig

index 7381eeb7ef8e40197ccdd4de2c61386ea8409110..302d0b681676ca8486d3e3737207277adbf377d7 100644 (file)
@@ -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"