diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-01-29 17:29:10 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-30 09:56:04 -0500 |
commit | 4d87c5bec5389625d80b71108795aecf82cd670d (patch) | |
tree | 57980f148914b3deaca66ea3d7b6a1ae924efd3a /arch | |
parent | d52a61c04c6c0814ca270a088feedb126436598e (diff) |
fix "sparseirq: use kstat_irqs_cpu on non-x86 architectures too"
Repair 0b0f0b1c2c87de299df6f92a8ffc0a73bd1bb960
arch/alpha/kernel/irq.c: In function 'show_interrupts':
arch/alpha/kernel/irq.c:93: error: 'i' undeclared (first use in this function)
arch/alpha/kernel/irq.c:93: error: (Each undeclared identifier is reported only once
arch/alpha/kernel/irq.c:93: error: for each function it appears in.)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c index 430550bd1eb6..d3812eb84015 100644 --- a/arch/alpha/kernel/irq.c +++ b/arch/alpha/kernel/irq.c | |||
@@ -90,7 +90,7 @@ show_interrupts(struct seq_file *p, void *v) | |||
90 | seq_printf(p, "%10u ", kstat_irqs(irq)); | 90 | seq_printf(p, "%10u ", kstat_irqs(irq)); |
91 | #else | 91 | #else |
92 | for_each_online_cpu(j) | 92 | for_each_online_cpu(j) |
93 | seq_printf(p, "%10u ", kstat_irqs_cpu(i, j)); | 93 | seq_printf(p, "%10u ", kstat_irqs_cpu(irq, j)); |
94 | #endif | 94 | #endif |
95 | seq_printf(p, " %14s", irq_desc[irq].chip->typename); | 95 | seq_printf(p, " %14s", irq_desc[irq].chip->typename); |
96 | seq_printf(p, " %c%s", | 96 | seq_printf(p, " %c%s", |