Skip to content

Commit

Permalink
s390/irq: Use irq_desc_kstat_cpu() in show_msi_interrupt()
Browse files Browse the repository at this point in the history
The irq descriptor is already there, no need to look it up again.

Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Heiko Carstens <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
KAGA-KOKO committed Dec 15, 2020
1 parent 7435248 commit ba22d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/s390/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static void show_msi_interrupt(struct seq_file *p, int irq)
raw_spin_lock_irqsave(&desc->lock, flags);
seq_printf(p, "%3d: ", irq);
for_each_online_cpu(cpu)
seq_printf(p, "%10u ", kstat_irqs_cpu(irq, cpu));
seq_printf(p, "%10u ", irq_desc_kstat_cpu(desc, cpu));

if (desc->irq_data.chip)
seq_printf(p, " %8s", desc->irq_data.chip->name);
Expand Down

0 comments on commit ba22d0e

Please sign in to comment.