[PATCH] ARM SMP: We list IRQs for present CPUs, not online CPUs
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 11 Jul 2005 18:26:31 +0000 (19:26 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 11 Jul 2005 18:26:31 +0000 (19:26 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp.c

index 44a27b2a3c290bf495b7882d09a23ae0fa0b799b..78c24a1266b1426f564736dcc896e378568179e4 100644 (file)
@@ -355,7 +355,7 @@ void show_ipi_list(struct seq_file *p)
 
        seq_puts(p, "IPI:");
 
-       for_each_online_cpu(cpu)
+       for_each_present_cpu(cpu)
                seq_printf(p, " %10lu", per_cpu(ipi_data, cpu).ipi_count);
 
        seq_putc(p, '\n');