mn10300: Use the core irq stats function
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Feb 2014 21:40:16 +0000 (21:40 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 4 Mar 2014 16:37:53 +0000 (17:37 +0100)
Let the core do the irq_desc resolution.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: David Howells <dhowells@redhat.com>
Cc: mn10300 <linux-am33-list@redhat.com>
Link: http://lkml.kernel.org/r/20140223212737.751487689@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/mn10300/kernel/mn10300-watchdog.c

index db64a7166c095850c6bf18fcadcdaa3a444859fe..a2d8e6938d6716bca53162a00775291bca58d227 100644 (file)
@@ -142,7 +142,7 @@ void watchdog_interrupt(struct pt_regs *regs, enum exception_code excep)
        NMICR = NMICR_WDIF;
 
        nmi_count(smp_processor_id())++;
-       kstat_incr_irqs_this_cpu(irq, irq_to_desc(irq));
+       kstat_incr_irq_this_cpu(irq);
 
        for_each_online_cpu(cpu) {