ARM: smp: Use irq_desc_kstat_cpu() in show_ipi_list()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2020 19:25:45 +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>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201210194043.454288890@linutronix.de
arch/arm/kernel/smp.c

index 48099c6..e66c46a 100644 (file)
@@ -550,7 +550,7 @@ void show_ipi_list(struct seq_file *p, int prec)
                seq_printf(p, "%*s%u: ", prec - 1, "IPI", i);
 
                for_each_online_cpu(cpu)
-                       seq_printf(p, "%10u ", kstat_irqs_cpu(irq, cpu));
+                       seq_printf(p, "%10u ", irq_desc_kstat_cpu(ipi_desc[i], cpu));
 
                seq_printf(p, " %s\n", ipi_types[i]);
        }