|
@@ -183,7 +183,7 @@ asmlinkage void do_IRQ(int irq)
|
|
#if defined(CONFIG_PROC_FS)
|
|
#if defined(CONFIG_PROC_FS)
|
|
int show_interrupts(struct seq_file *p, void *v)
|
|
int show_interrupts(struct seq_file *p, void *v)
|
|
{
|
|
{
|
|
- int i = *(loff_t *) v, j;
|
|
|
|
|
|
+ int i = *(loff_t *) v;
|
|
struct irqaction * action;
|
|
struct irqaction * action;
|
|
unsigned long flags;
|
|
unsigned long flags;
|
|
|
|
|
|
@@ -196,7 +196,7 @@ int show_interrupts(struct seq_file *p, void *v)
|
|
if (!action)
|
|
if (!action)
|
|
goto unlock;
|
|
goto unlock;
|
|
seq_printf(p, "%3d: ",i);
|
|
seq_printf(p, "%3d: ",i);
|
|
- seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]);
|
|
|
|
|
|
+ seq_printf(p, "%10u ", kstat_irqs(i));
|
|
seq_printf(p, " %14s", irq_desc[i].chip->name);
|
|
seq_printf(p, " %14s", irq_desc[i].chip->name);
|
|
seq_printf(p, "-%-8s", irq_desc[i].name);
|
|
seq_printf(p, "-%-8s", irq_desc[i].name);
|
|
seq_printf(p, " %s", action->name);
|
|
seq_printf(p, " %s", action->name);
|