MIPS: SMP: Do not initialize __cpu_number_map/__cpu_logical_map for CPU 0.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 28 Oct 2008 10:03:57 +0000 (10:03 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 30 Oct 2008 14:44:33 +0000 (14:44 +0000)
commit076c6e4f4d81113615f50e5bc2c569f628bcd54a
tree818d3a3aa54286e02a990c4e08c88a197c97ba6f
parent566f74f6b2f8b85d5b8d6caaf97e5672cecd3e3e
MIPS: SMP: Do not initialize __cpu_number_map/__cpu_logical_map for CPU 0.

A system isn't necessarily booted on physical processor 0 as this code
assumes.  Also the array happens to be allocated in .bss so it's zero
initialized anyway.  Systems which need to override this can do so in
their mp_ops->smp_setup() method.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp.c