Re: [PATCH 1/1] sparc32,leon: add notify_cpu_starting()

From: Konrad Eisele
Date: Fri Apr 20 2012 - 03:36:01 EST

Hello Yong,
Thank you for the patch, it works. The SMP is fully
functional again for sparc-leon. I just added a "#include<linux/cpu.h>"
to avoid compiler warning.
Please someone in the cc-list, apply.
-- Greetings Konrad

Konrad Eisele wrote:
From: Yong Zhang<yong.zhang@xxxxxxxxxxxxx>

Otherwise cpu_active_mask will not set, which lead to other issue.

Signed-off-by: Yong Zhang<yong.zhang0@xxxxxxxxx>
Signed-off-by: Konrad Eisele<konrad@xxxxxxxxxxx>
arch/sparc/kernel/leon_smp.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/sparc/kernel/leon_smp.c b/arch/sparc/kernel/leon_smp.c
index 1210fde..160cac9 100644
--- a/arch/sparc/kernel/leon_smp.c
+++ b/arch/sparc/kernel/leon_smp.c
@@ -23,6 +23,7 @@

@@ -78,6 +79,8 @@ void __cpuinit leon_callin(void)

+ notify_cpu_starting(cpuid);
/* Get our local ticker going. */

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at