diff options
author | 2020-12-10 20:25:46 +0100 | |
---|---|---|
committer | 2020-12-15 16:19:31 +0100 | |
commit | 5089bc51f81f05ad7f0e46db2107be2311343852 (patch) | |
tree | c9df8aa618ddaa29a010f8b5de8fc2a730775d55 /arch/arm64 | |
parent | ARM: smp: Use irq_desc_kstat_cpu() in show_ipi_list() (diff) | |
download | linux-5089bc51f81f05ad7f0e46db2107be2311343852.tar.gz linux-5089bc51f81f05ad7f0e46db2107be2311343852.tar.bz2 linux-5089bc51f81f05ad7f0e46db2107be2311343852.zip |
arm64/smp: Use irq_desc_kstat_cpu() in arch_show_interrupts()
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.546326568@linutronix.de
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 18e9727d3f64..b2e5dc11abed 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -810,7 +810,7 @@ int arch_show_interrupts(struct seq_file *p, int prec) seq_printf(p, "%*s%u:%s", prec - 1, "IPI", i, prec >= 4 ? " " : ""); 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]); } |