genirq: Consolidate startup/shutdown of interrupts
authorThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 21:41:14 +0000 (21:41 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:10 +0000 (12:58 +0100)
commit4699923861513671d3f6ade8efb4e56a9a7ecadf
tree862cda99b9af6fe96fda955107f24a7b5cc97a18
parent3b56f0585fd4c02d047dc406668cb40159b2d340
genirq: Consolidate startup/shutdown of interrupts

Aside of duplicated code some of the startup/shutdown sites do not
handle the MASKED/DISABLED flags and the depth field at all. Move that
to a helper function and take care of it there.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20110202212551.787481468@linutronix.de>
kernel/irq/autoprobe.c
kernel/irq/chip.c
kernel/irq/internals.h
kernel/irq/manage.c