projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5089bc5
)
parisc/irq: Use irq_desc_kstat_cpu() in show_interrupts()
author
Thomas Gleixner
<tglx@linutronix.de>
Thu, 10 Dec 2020 19:25:47 +0000
(20:25 +0100)
committer
Thomas 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
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/irq.c
b/arch/parisc/kernel/irq.c
index
15c6207
..
49cd6d2
100644
(file)
--- a/
arch/parisc/kernel/irq.c
+++ b/
arch/parisc/kernel/irq.c
@@
-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