summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-01-11 00:29:15 -0800
committerIngo Molnar <mingo@elte.hu>2009-01-11 15:53:13 +0100
commitdee4102a9a5882b4f7d5cc165ba29e8cc63cf92e (patch)
tree5aaf315d5a769b2958e39799cc500bde613dd919 /arch/blackfin
parentd7e51e66899f95dabc89b4d4c6674a6e50fa37fc (diff)
downloadblackbird-op-linux-dee4102a9a5882b4f7d5cc165ba29e8cc63cf92e.tar.gz
blackbird-op-linux-dee4102a9a5882b4f7d5cc165ba29e8cc63cf92e.zip
sparseirq: use kstat_irqs_cpu instead
Impact: build fix Ingo Molnar wrote: > tip/arch/blackfin/kernel/irqchip.c: In function 'show_interrupts': > tip/arch/blackfin/kernel/irqchip.c:85: error: 'struct kernel_stat' has no member named 'irqs' > make[2]: *** [arch/blackfin/kernel/irqchip.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > So could move kstat_irqs array to irq_desc struct. (s390, m68k, sparc) are not touched yet, because they don't support genirq Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/irqchip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/irqchip.c b/arch/blackfin/kernel/irqchip.c
index ab8209cbbad0..a4e12d1b3798 100644
--- a/arch/blackfin/kernel/irqchip.c
+++ b/arch/blackfin/kernel/irqchip.c
@@ -82,7 +82,7 @@ int show_interrupts(struct seq_file *p, void *v)
goto skip;
seq_printf(p, "%3d: ", i);
for_each_online_cpu(j)
- seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]);
+ seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
seq_printf(p, " %8s", irq_desc[i].chip->name);
seq_printf(p, " %s", action->name);
for (action = action->next; action; action = action->next)
OpenPOWER on IntegriCloud