]> git.baikalelectronics.ru Git - kernel.git/commit
Clear spurious irq stat information when adding irq handler
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 23 Jan 2007 22:16:31 +0000 (14:16 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 23 Jan 2007 22:16:31 +0000 (14:16 -0800)
commit13b4aaa1c64e5ac6d6fdc77f7297fccb4334e737
treefd4c21fbf54ae23b2edaf3ccd1d4423a55f2a14f
parentfceae2db0af6fa3705bb27ecfacafbf08177389a
Clear spurious irq stat information when adding irq handler

Any newly added irq handler may obviously make any old spurious irq
status invalid, since the new handler may well be the thing that is
supposed to handle any interrupts that came in.

So just clear the statistics when adding handlers.

Pointed-out-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/irq/manage.c