mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Eisele <konrad@gaisler.com>
To: davem@davemloft.net
Cc: konrad@gaisler.com, yong.zhang0@gmail.com, sam@ravnborg.org,
	a.p.zijlstra@chello.nl, mingo@elte.hu,
	linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org,
	daniel@gaisler.com
Subject: [PATCH] sparc32,leon: add notify_cpu_starting()
Date: Fri, 20 Apr 2012 09:46:35 +0200	[thread overview]
Message-ID: <1334907995-6971-1-git-send-email-konrad@gaisler.com> (raw)
In-Reply-To: <20120420.030607.1891260321280604674.davem@davemloft.net>

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);
 
-- 
1.6.1.3


  reply	other threads:[~2012-04-20  7:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1334827362-3434-1-git-send-email-konrad@gaisler.com>
2012-04-19 15:34 ` [PATCH 1/1] sparc: task_cpu() for stopper thread on sparc32 returns 0 Sam Ravnborg
2012-04-20  3:36   ` Yong Zhang
2012-04-20  3:56     ` David Miller
2012-04-20  6:28     ` [PATCH 1/1] sparc32,leon: add notify_cpu_starting() Konrad Eisele
2012-04-20  6:32       ` Konrad Eisele
2012-04-20  7:06         ` David Miller
2012-04-20  7:46           ` Konrad Eisele [this message]
2012-04-20  7:47             ` [PATCH] " Konrad Eisele
2012-04-20  8:01             ` Srivatsa S. Bhat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1334907995-6971-1-git-send-email-konrad@gaisler.com \
    --to=konrad@gaisler.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=daniel@gaisler.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=sam@ravnborg.org \
    --cc=sparclinux@vger.kernel.org \
    --cc=yong.zhang0@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®