genirq: Add CONFIG_GENERIC_IRQ_MULTI_HANDLER
authorPalmer Dabbelt <palmer@sifive.com>
Wed, 7 Mar 2018 23:57:27 +0000 (15:57 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 14 Mar 2018 20:46:29 +0000 (21:46 +0100)
commitcaacdbf4aa567ab5e8de1a4070195c5d3e8f1340
tree00581368a1141b284bd779da0b779c33984a5542
parentb0d8bef8ed805ca92eb91e86acf3ce89cbebc8ce
genirq: Add CONFIG_GENERIC_IRQ_MULTI_HANDLER

The arm multi irq handler registration mechanism has been copied into a
handful of architectures, including arm64 and openrisc. RISC-V needs the
same mechanism.

Instead of adding yet another copy for RISC-V copy the arm implementation
into the core code depending on a new Kconfig symbol:
CONFIG_GENERIC_MULTI_IRQ_HANDLER.

Subsequent patches will convert the various architectures.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: jonas@southpole.se
Cc: catalin.marinas@arm.com
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux@armlinux.org.uk
Cc: stefan.kristiansson@saunalahti.fi
Cc: openrisc@lists.librecores.org
Cc: shorne@gmail.com
Cc: linux-riscv@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lkml.kernel.org/r/20180307235731.22627-2-palmer@sifive.com
include/linux/irq.h
kernel/irq/Kconfig
kernel/irq/handle.c