]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] genirq: fix irq flow handler uninstall
authorThomas Gleixner <tglx@linutronix.de>
Fri, 22 Dec 2006 09:08:14 +0000 (01:08 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:48 +0000 (08:55 -0800)
commit9d7ac8be4b48737ad1cebd94ed754a269f360708
treea6f57e44a3a5fa993145f9bf6a9af7dc8f481623
parente903387f1ebe3a7ddb93cd49c38341d3632df528
[PATCH] genirq: fix irq flow handler uninstall

The sanity check for no_irq_chip in __set_irq_hander() is unconditional on
both install and uninstall of an handler.  This triggers false warnings and
replaces no_irq_chip by dummy_irq_chip in the uninstall case.

Check only, when a real handler is installed.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/irq/chip.c