[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1334903312-18526-1-git-send-email-konrad@gaisler.com>
Date: Fri, 20 Apr 2012 08:28:32 +0200
From: Konrad Eisele <konrad@...sler.com>
To: yong.zhang0@...il.com
Cc: sam@...nborg.org, a.p.zijlstra@...llo.nl, mingo@...e.hu,
linux-kernel@...r.kernel.org, sparclinux@...r.kernel.org,
davem@...emloft.net, daniel@...sler.com,
Yong Zhang <yong.zhang@...driver.com>
Subject: [PATCH 1/1] sparc32,leon: add notify_cpu_starting()
From: Yong Zhang <yong.zhang@...driver.com>
Otherwise cpu_active_mask will not set, which lead to other issue.
Signed-off-by: Yong Zhang <yong.zhang0@...il.com>
Signed-off-by: Konrad Eisele <konrad@...sler.com>
---
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 @@
#include <linux/pm.h>
#include <linux/delay.h>
#include <linux/gfp.h>
+#include <linux/cpu.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
@@ -78,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. */
smp_setup_percpu_timer();
--
1.6.1.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists