Skip to content
Commit 076c6e4f authored by Ralf Baechle's avatar Ralf Baechle
Browse files

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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 566f74f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment