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 315 /* Undo nested disables: */ 316 316 desc->depth = 1; 317 317 } 318 + /* Reset broken irq detection when installing new handler */ 319 + desc->irq_count = 0; 320 + desc->irqs_unhandled = 0; 318 321 spin_unlock_irqrestore(&desc->lock, flags); 319 322 320 323 new->irq = irq;