]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b5b22549b8f20072204425682fa0db33e356cf1
tree818d3a3aa54286e02a990c4e08c88a197c97ba6f
parentf39ac4e46dd8a818ca5d1e093b2e740822fdf2c5
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