]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Make GENERIC_IRQ_MULTI_HANDLER depend on !MULTI_IRQ_HANDLER
authorPalmer Dabbelt <palmer@sifive.com>
Wed, 4 Apr 2018 04:31:30 +0000 (21:31 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 4 Apr 2018 10:04:28 +0000 (12:04 +0200)
commit46814838c7eb8ca9e390c3180f2741e77b7641e8
tree7f5267c16df3709689d9879d7e0ca1ab7ba7698d
parent97f8a244d264bb2cbda1ad6da49fa77457764bb9
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 <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-4-palmer@sifive.com
kernel/irq/Kconfig