• Palmer Dabbelt's avatar
    genirq: Add CONFIG_GENERIC_IRQ_MULTI_HANDLER · caacdbf4
    Palmer Dabbelt authored
    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: default avatarPalmer Dabbelt <palmer@sifive.com>
    Signed-off-by: default avatarThomas 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
    caacdbf4
handle.c 5.58 KB