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>

+3
+3
kernel/irq/manage.c
··· 315 /* Undo nested disables: */ 316 desc->depth = 1; 317 } 318 spin_unlock_irqrestore(&desc->lock, flags); 319 320 new->irq = irq;
··· 315 /* Undo nested disables: */ 316 desc->depth = 1; 317 } 318 + /* Reset broken irq detection when installing new handler */ 319 + desc->irq_count = 0; 320 + desc->irqs_unhandled = 0; 321 spin_unlock_irqrestore(&desc->lock, flags); 322 323 new->irq = irq;