mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
parisc/irq: Use irq_desc_kstat_cpu() in show_interrupts()
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
This commit is contained in:
parent
5089bc51f8
commit
7435248e6d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue