linux-mips
[Top] [All Lists]

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

To: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/8] MIPS: Octeon: delay enable irq to ->smp_finish()
From: Yong Zhang <yong.zhang0@gmail.com>
Date: Thu, 17 May 2012 18:10:03 +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=ohw5wuf8zcn0CZKhKJoZ23rdD17C0uKJdcyAdSszrNE=; b=u8HqoSbyLSMTPRUpbKNW/bE6tTd43dSwwz48T68jTpKyTuk+ls2zYZwlI31NW3L29a Wk9V07PgDDd6fMsizSgS4uOHZ3qGOuKLSC4LeeLtu2xITmSWYJ9/wHx/2jbvbfpMltVd j/pNJZkbLiRW+0mUpY6QFZbHfSJS5Tjbo04lnQRZXYSKzVl23iRwzyoUFB/nzwrZoUfy 77HZKWOtTJXlQx2Eqk2mdyenG0b6Pndbo0L5ls63NCjhvEucfwly0irIaI9xGlvOYyBy kfDjpeMpzadmBAFDev0/Lx6OlLfaHvjYLW1aNhBECN5G21lgzbG6VaZkOamvnmCbR1O/ HGLA==
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>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Daney <david.daney@cavium.com>
---
 arch/mips/cavium-octeon/smp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/cavium-octeon/smp.c b/arch/mips/cavium-octeon/smp.c
index 97e7ce9..ef9c34a 100644
--- a/arch/mips/cavium-octeon/smp.c
+++ b/arch/mips/cavium-octeon/smp.c
@@ -185,7 +185,6 @@ static void __cpuinit octeon_init_secondary(void)
        octeon_init_cvmcount();
 
        octeon_irq_setup_secondary();
-       raw_local_irq_enable();
 }
 
 /**
@@ -233,6 +232,7 @@ static void octeon_smp_finish(void)
 
        /* to generate the first CPU timer interrupt */
        write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ);
+       local_irq_enable();
 }
 
 /**
-- 
1.7.1


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