sparc: Use the core irq stats function
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Feb 2014 21:40:15 +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 S. Miller <davem@davemloft.net>
Link: http://lkml.kernel.org/r/20140223212737.635609567@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/sparc/kernel/time_64.c

index c3d82b5f54ca8501960d9145990304d5b15e4a3c..24e8b8705e7f958c60982b4526b78cd7b1f52e10 100644 (file)
@@ -733,7 +733,7 @@ void __irq_entry timer_interrupt(int irq, struct pt_regs *regs)
        irq_enter();
 
        local_cpu_data().irq0_irqs++;
-       kstat_incr_irqs_this_cpu(0, irq_to_desc(0));
+       kstat_incr_irq_this_cpu(0);
 
        if (unlikely(!evt->event_handler)) {
                printk(KERN_WARNING