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: Mon, 21 May 2012 14:00:04 +0800
Cc: ralf@linux-mips.org, sshtylyov@mvista.com, 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=XujfYBaAQXl68ROFdNu4IA2+y4LMfv6/GNCKdTRAlWo=; b=hlk7z1H8OON/dN8Zsy06SuhoIvlDSCZlu8wrwMN6uQouscUnRGkjb/3XAiiGRU7S8q oleUozGpMZ7GRbohy/+XenNvrdqaBMn8Sdz7XQu09kbqgAec1EwBjYRFKfPYL8OyVTpk hREAaJ4kx9BtTJd+RPKgdN/+ujtCdAKXqXh8c/LcnRxSfwZk8E/+i21vQOqLXIWPWQPS YZ3xpvatQiyL8cjE2e2tuyjgObW0/mN/RSPS+/o0pWHOVxdcL2ppGRYzHjExG8sUkkfd zUhT4ks0QTpmir2ozrqlIo1NtjFAKn+3thGvKeUpIOnRWsXcK53M1rz2N1Ky30Rp5dXI Epzg==
In-reply-to: <1337580008-7280-1-git-send-email-yong.zhang0@gmail.com>
References: <1337580008-7280-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>
Acked-by: David Daney <david.daney@cavium.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.5.4


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