aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2018-04-04 00:31:29 -0400
committerThomas Gleixner <tglx@linutronix.de>2018-04-04 06:04:28 -0400
commit83fbdf1c0595470d98ee99a6474099aee870640f (patch)
tree83889201db2c9cf36fa992eee90161bbe5f391a1
parent667b24d049e5dd643a351757fee1a17472cd1719 (diff)
openrisc: Set CONFIG_MULTI_IRQ_HANDLER
arm has an optional MULTI_IRQ_HANDLER, which openrisc 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 openrisc local config symbol will be removed once openrisc 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-3-palmer@sifive.com
-rw-r--r--arch/openrisc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index 339df7324e9c..9ecad05bfc73 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -27,6 +27,7 @@ config OPENRISC
27 select GENERIC_STRNLEN_USER 27 select GENERIC_STRNLEN_USER
28 select GENERIC_SMP_IDLE_THREAD 28 select GENERIC_SMP_IDLE_THREAD
29 select MODULES_USE_ELF_RELA 29 select MODULES_USE_ELF_RELA
30 select MULTI_IRQ_HANDLER
30 select HAVE_DEBUG_STACKOVERFLOW 31 select HAVE_DEBUG_STACKOVERFLOW
31 select OR1K_PIC 32 select OR1K_PIC
32 select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1 33 select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1
@@ -68,6 +69,9 @@ config STACKTRACE_SUPPORT
68config LOCKDEP_SUPPORT 69config LOCKDEP_SUPPORT
69 def_bool y 70 def_bool y
70 71
72config MULTI_IRQ_HANDLER
73 def_bool y
74
71source "init/Kconfig" 75source "init/Kconfig"
72 76
73source "kernel/Kconfig.freezer" 77source "kernel/Kconfig.freezer"