From 64c8b0c4c5a6da404f19e2c07e7110e2ac3aa9f8 Mon Sep 17 00:00:00 2001 From: Hillf Danton Date: Sat, 24 Sep 2011 02:29:54 +0200 Subject: [PATCH] --- yaml --- r: 273483 b: refs/heads/master c: b2788965baed868ce48ebd6d67f00acf617c9ee6 h: refs/heads/master i: 273481: a73aaa037383f6167b9d3694c08beec736474b84 273479: c4ae17e2a16c05687e71cc8b216210a44a0e0afe v: v3 --- [refs] | 2 +- trunk/arch/mips/netlogic/xlr/smp.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 855481cf3322..c2209bda776c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 933036386b36d8a9047798f31ab40f9e869bdd7d +refs/heads/master: b2788965baed868ce48ebd6d67f00acf617c9ee6 diff --git a/trunk/arch/mips/netlogic/xlr/smp.c b/trunk/arch/mips/netlogic/xlr/smp.c index e2372121307c..080284ded508 100644 --- a/trunk/arch/mips/netlogic/xlr/smp.c +++ b/trunk/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;