Fix CONFIG_DEBUG_SHIRQ trigger on free_irq()
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 17 Oct 2007 06:26:29 +0000 (23:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:49 +0000 (08:42 -0700)
commit1d99493b3a68e40e56459ea3565d4402fb6e5f3a
tree362ebcf8871e0fad07aa754bb5194de3a2cd64d3
parentf13ef7754f724842dbf5ae6d85d0604fff0d1a84
Fix CONFIG_DEBUG_SHIRQ trigger on free_irq()

Andy Gospodarek pointed out that because we return in the middle of the
free_irq() function, we never actually do call the IRQ handler that just
got deregistered. This should fix it, although I expect Andrew will want
to convert those 'return's to 'break'. That's a separate change though.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Cc: Andy Gospodarek <andy@greyhouse.net>
Cc: Fernando Luis Vzquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/irq/manage.c