diff options
Diffstat (limited to 'arch/sh/kernel/irq.c')
| -rw-r--r-- | arch/sh/kernel/irq.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index 6883c00728cb..b56e79632f24 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c | |||
| @@ -35,9 +35,8 @@ int show_interrupts(struct seq_file *p, void *v) | |||
| 35 | 35 | ||
| 36 | if (i == 0) { | 36 | if (i == 0) { |
| 37 | seq_puts(p, " "); | 37 | seq_puts(p, " "); |
| 38 | for (j=0; j<NR_CPUS; j++) | 38 | for_each_online_cpu(j) |
| 39 | if (cpu_online(j)) | 39 | seq_printf(p, "CPU%d ",j); |
| 40 | seq_printf(p, "CPU%d ",j); | ||
| 41 | seq_putc(p, '\n'); | 40 | seq_putc(p, '\n'); |
| 42 | } | 41 | } |
| 43 | 42 | ||
