Message ID | 1334907995-6971-1-git-send-email-konrad@gaisler.com |
---|---|
State | Superseded |
Delegated to: | David Miller |
Headers | show |
This version is against linux/kernel/git/davem/sparc-next.git . -- Konrad Konrad Eisele wrote: > Otherwise cpu_active_mask will not set, which lead to other issue. > > Signed-off-by: Yong Zhang<yong.zhang0@gmail.com> > Signed-off-by: Konrad Eisele<konrad@gaisler.com> > --- > arch/sparc/kernel/leon_smp.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/arch/sparc/kernel/leon_smp.c b/arch/sparc/kernel/leon_smp.c > index 6173f4d..356dfc4 100644 > --- a/arch/sparc/kernel/leon_smp.c > +++ b/arch/sparc/kernel/leon_smp.c > @@ -79,6 +79,8 @@ void __cpuinit leon_callin(void) > local_flush_tlb_all(); > leon_configure_cache_smp(); > > + notify_cpu_starting(cpuid); > + > /* Get our local ticker going. */ > register_percpu_ce(cpuid); > -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 04/20/2012 01:16 PM, Konrad Eisele wrote: > Otherwise cpu_active_mask will not set, which lead to other issue. > > Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> > Signed-off-by: Konrad Eisele <konrad@gaisler.com> Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Looks like I missed sparc32 while fixing up the other architectures. (https://lkml.org/lkml/2012/3/22/132) Regards, Srivatsa S. Bhat > --- > arch/sparc/kernel/leon_smp.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/arch/sparc/kernel/leon_smp.c b/arch/sparc/kernel/leon_smp.c > index 6173f4d..356dfc4 100644 > --- a/arch/sparc/kernel/leon_smp.c > +++ b/arch/sparc/kernel/leon_smp.c > @@ -79,6 +79,8 @@ void __cpuinit leon_callin(void) > local_flush_tlb_all(); > leon_configure_cache_smp(); > > + notify_cpu_starting(cpuid); > + > /* Get our local ticker going. */ > register_percpu_ce(cpuid); > -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/sparc/kernel/leon_smp.c b/arch/sparc/kernel/leon_smp.c index 6173f4d..356dfc4 100644 --- a/arch/sparc/kernel/leon_smp.c +++ b/arch/sparc/kernel/leon_smp.c @@ -79,6 +79,8 @@ void __cpuinit leon_callin(void) local_flush_tlb_all(); leon_configure_cache_smp(); + notify_cpu_starting(cpuid); + /* Get our local ticker going. */ register_percpu_ce(cpuid);