linux-mips
[Top] [All Lists]

[PATCH 4/8] MIPS: Yosemite: delay irq enable to ->smp_finish()

To: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Subject: [PATCH 4/8] MIPS: Yosemite: delay irq enable to ->smp_finish()
From: Yong Zhang <yong.zhang0@gmail.com>
Date: Thu, 17 May 2012 18:10:06 +0800
Cc: ralf@linux-mips.org, david.daney@cavium.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=H/QHpfizoWNWtBQZUObs6w8GV4soSBibMU1be/RCDz4=; b=uksrqXGwzKmUzzIP0qeCtKp2ZoBDfB92sDS6nqo3xzCR7hsnx73aIy2NrjgN0Fz9Vy 45hdl2OD+nC3rw/zKCtLBwGAlrCaejIjkmzl5McnOtnjQ8B7Ac3rPVGVx9uT3volpfTF /tB4c3FnLGJ+J+dguxpsHZMG9MWcyXAVn8GVj9gef3R2AczCQA2LiImvi0q9zAI1wBTO hg4Wy0Xr8eqZM6URrqiopyUSW1MHCNiP7iku93VZKrOkQ6XbwcOY5Ikvc7CM3hVT/Yze UdGTuQ6Ia7uHRXIbeG7IrvC4XQoS6+YwdXUs+Ivqt8n85P60DztpKna38mJEmqfGvGJf pqmQ==
In-reply-to: <1337249410-7162-1-git-send-email-yong.zhang0@gmail.com>
References: <1337249410-7162-1-git-send-email-yong.zhang0@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: Yong Zhang <yong.zhang@windriver.com>

To prepare for smoothing set_cpu_[active|online]() mess up

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
---
 arch/mips/pmc-sierra/yosemite/smp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/pmc-sierra/yosemite/smp.c 
b/arch/mips/pmc-sierra/yosemite/smp.c
index b71fae2..5edab2b 100644
--- a/arch/mips/pmc-sierra/yosemite/smp.c
+++ b/arch/mips/pmc-sierra/yosemite/smp.c
@@ -115,11 +115,11 @@ static void yos_send_ipi_mask(const struct cpumask *mask, 
unsigned int action)
  */
 static void __cpuinit yos_init_secondary(void)
 {
-       set_c0_status(ST0_CO | ST0_IE | ST0_IM);
 }
 
 static void __cpuinit yos_smp_finish(void)
 {
+       set_c0_status(ST0_CO | ST0_IM | ST0_IE);
 }
 
 /* Hook for after all CPUs are online */
-- 
1.7.1


<Prev in Thread] Current Thread [Next in Thread>