genirq: Split out irq_startup() code
authorThomas Gleixner <tglx@linutronix.de>
Mon, 19 Jun 2017 23:37:48 +0000 (01:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jun 2017 16:21:24 +0000 (18:21 +0200)
commit708d174b6c32bffc5d73793bc7a267bcafeb6558
treea8ac5bc8c4f92eb1fb178e45d4939cf9d7bd49ac
parent54fdf6a0875ca380647ac1cc9b5b8f2dbbbfa131
genirq: Split out irq_startup() code

Split out the inner workings of irq_startup() so it can be reused to handle
managed interrupts gracefully.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/20170619235447.033235144@linutronix.de
kernel/irq/chip.c