]> git.karo-electronics.de Git - linux-beck.git/commit
genirq: add unlocked version of set_irq_handler()
authorKevin Hilman <khilman@mvista.com>
Tue, 18 Dec 2007 17:05:58 +0000 (18:05 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 Dec 2007 17:05:58 +0000 (18:05 +0100)
commitb019e57321f3e006c0ec7a54f13efc377bcb6451
tree9ed37924d702981a04f86db0300d9c3aff709ca9
parentcdc6f27d9e3c2f7ca1a3e19c6eabb1ad6a2add5d
genirq: add unlocked version of set_irq_handler()

Add unlocked version for use by irq_chip.set_type handlers which may
wish to change handler to level or edge handler when IRQ type is
changed.

The normal set_irq_handler() call cannot be used because it tries to
take irq_desc.lock which is already held when the irq_chip.set_type
hook is called.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irq.h