patch-2.2.0-pre8 linux/arch/alpha/kernel/irq.c
Next file: linux/arch/alpha/kernel/process.c
Previous file: linux/arch/alpha/kernel/alpha_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sat Jan 16 17:02:50 1999
- Orig file:
v2.2.0-pre7/linux/arch/alpha/kernel/irq.c
- Orig date:
Wed Jan 13 15:00:41 1999
diff -u --recursive --new-file v2.2.0-pre7/linux/arch/alpha/kernel/irq.c linux/arch/alpha/kernel/irq.c
@@ -335,9 +335,12 @@
#ifndef __SMP__
p += sprintf(p, "%10u ", kstat_irqs(i));
#else
- for (j = 0; j < smp_num_cpus; j++)
- p += sprintf(p, "%10u ",
- kstat.irqs[cpu_logical_map(j)][i]);
+ {
+ int j;
+ for (j = 0; j < smp_num_cpus; j++)
+ p += sprintf(p, "%10u ",
+ kstat.irqs[cpu_logical_map(j)][i]);
+ }
#endif
p += sprintf(p, " %c%s",
(action->flags & SA_INTERRUPT)?'+':' ',
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov