]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bc34b21de045b866e00d3b43a5147b045ac57df
tree362ebcf8871e0fad07aa754bb5194de3a2cd64d3
parent1d751298b5d3be9ce6723fbba023e7fbe6c90f94
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