sparc: Use the core irq stats function
authorThomas Gleixner <[email protected]>
Sun, 23 Feb 2014 21:40:15 +0000 (21:40 +0000)
committerThomas Gleixner <[email protected]>
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: David S. Miller <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
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