parisc/irq: Use irq_desc_kstat_cpu() in show_interrupts()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2020 19:25:47 +0000 (20:25 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Dec 2020 15:19:31 +0000 (16:19 +0100)
The irq descriptor is already there, no need to look it up again.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-parisc@vger.kernel.org
Link: https://lore.kernel.org/r/20201210194043.659522455@linutronix.de
arch/parisc/kernel/irq.c

index 15c6207..49cd6d2 100644 (file)
@@ -218,7 +218,7 @@ int show_interrupts(struct seq_file *p, void *v)
                seq_printf(p, "%3d: ", i);
 
                for_each_online_cpu(j)
-                       seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
+                       seq_printf(p, "%10u ", irq_desc_kstat_cpu(desc, j));
 
                seq_printf(p, " %14s", irq_desc_get_chip(desc)->name);
 #ifndef PARISC_IRQ_CR16_COUNTS