From: Palmer Dabbelt Date: Wed, 4 Apr 2018 04:31:30 +0000 (-0700) Subject: genirq: Make GENERIC_IRQ_MULTI_HANDLER depend on !MULTI_IRQ_HANDLER X-Git-Tag: v4.19~1188^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6f73825dcd0fa1de9a6bf37c79f6109cc87b82f;p=platform%2Fkernel%2Flinux-rpi3.git genirq: Make GENERIC_IRQ_MULTI_HANDLER depend on !MULTI_IRQ_HANDLER These config switches enable the same code in the core and the not yet converted architecture code. They can be selected both by randconfig builds and cause linker error because the same symbols are defined twice. Make the new GENERIC_IRQ_MULTI_HANDLER depend on !MULTI_IRQ_HANDLER to prevent that. The dependency will be removed once all architectures are converted over. Signed-off-by: Palmer Dabbelt Signed-off-by: Thomas Gleixner Cc: Linus Torvalds Cc: Arnd Bergmann Link: https://lkml.kernel.org/r/20180404043130.31277-4-palmer@sifive.com --- diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig index 5f3e2ba..c6766f3 100644 --- a/kernel/irq/Kconfig +++ b/kernel/irq/Kconfig @@ -134,6 +134,7 @@ config GENERIC_IRQ_DEBUGFS endmenu config GENERIC_IRQ_MULTI_HANDLER + depends on !MULTI_IRQ_HANDLER bool help Allow to specify the low level IRQ handler at run time.