aboutsummaryrefslogtreecommitdiff
path: root/lib/locking-selftest.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-10-28 10:03:57 +0000
committerRalf Baechle <ralf@linux-mips.org>2008-10-30 14:44:33 +0000
commit076c6e4f4d81113615f50e5bc2c569f628bcd54a (patch)
tree818d3a3aa54286e02a990c4e08c88a197c97ba6f /lib/locking-selftest.c
parent566f74f6b2f8b85d5b8d6caaf97e5672cecd3e3e (diff)
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>
Diffstat (limited to 'lib/locking-selftest.c')
0 files changed, 0 insertions, 0 deletions