Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6f73825 authored by Palmer Dabbelt's avatar Palmer Dabbelt Committed by Thomas Gleixner
Browse files

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: default avatarPalmer Dabbelt <palmer@sifive.com>
Signed-off-by: default avatarThomas 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
parent 71e6882b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -134,6 +134,7 @@ config GENERIC_IRQ_DEBUGFS
endmenu
endmenu


config GENERIC_IRQ_MULTI_HANDLER
config GENERIC_IRQ_MULTI_HANDLER
	depends on !MULTI_IRQ_HANDLER
	bool
	bool
	help
	help
	  Allow to specify the low level IRQ handler at run time.
	  Allow to specify the low level IRQ handler at run time.