From b2788965baed868ce48ebd6d67f00acf617c9ee6 Mon Sep 17 00:00:00 2001 From: Hillf Danton Date: Sat, 24 Sep 2011 02:29:54 +0200 Subject: MIPS: XLR, XLS: Add comment for smp setup It seems that BSP could be setup twice, but the nlm_cpu_ready array is only set for ASPs in smpboot.S, not including BSP. Signed-off-by: Hillf Danton Cc: "Jayachandran C." Cc: LKML Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2695/ Signed-off-by: Ralf Baechle , --- arch/mips/netlogic/xlr/smp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/mips/netlogic') diff --git a/arch/mips/netlogic/xlr/smp.c b/arch/mips/netlogic/xlr/smp.c index e2372121307c..080284ded508 100644 --- a/arch/mips/netlogic/xlr/smp.c +++ b/arch/mips/netlogic/xlr/smp.c @@ -158,6 +158,10 @@ void __init nlm_smp_setup(void) num_cpus = 1; for (i = 0; i < NR_CPUS; i++) { + /* + * BSP is not set in nlm_cpu_ready array, it is only for + * ASPs (goto see smpboot.S) + */ if (nlm_cpu_ready[i]) { cpu_set(i, phys_cpu_present_map); __cpu_number_map[i] = num_cpus; -- cgit