| To: | linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
|---|---|
| Subject: | [PATCH 8/8] MIPS: sync-r4k: remove redundant irq operation |
| From: | Yong Zhang <yong.zhang0@gmail.com> |
| Date: | Thu, 17 May 2012 18:10:10 +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=Oo9L+gxflitZcH1htHyBRVs8kTnhDD+DQlDQWnojuJY=; b=DJxssIDqdN5fzvfsHLy2L69JqS/SjOJ6jIRStiLmit+N13KSoBqLRb4aigIZH57Q6Y wn/v44vT7HkSGtlTb+WXur89BwF/G3Y26RrTY5K9snMZiRpuwYuv1Cmox+4FovEsouhx QsWDzvfHzFuzZJsQRmudEzFgt++ky/OT/fAd2epOXY6POkt7DLr6vzAqd64jiwfsx0Mx nzZMxDn4hzu57KLbphCtS9Ebfb9ZbnWf5Bcv+abfgX2Nt/gTSgZjw9Y1rAI7sxLTKCsZ d9VXVlpUH5M1FL24d41LXtxfXZtbp/wKc3Fyw09ALYgSMhypcMr28jl2vieCMCANDgmc Tk0w== |
| 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>
Since we have delayed irq enable to ->smp_finish()
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
---
arch/mips/kernel/sync-r4k.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/arch/mips/kernel/sync-r4k.c b/arch/mips/kernel/sync-r4k.c
index 99f913c..842d55e 100644
--- a/arch/mips/kernel/sync-r4k.c
+++ b/arch/mips/kernel/sync-r4k.c
@@ -111,7 +111,6 @@ void __cpuinit synchronise_count_master(void)
void __cpuinit synchronise_count_slave(void)
{
int i;
- unsigned long flags;
unsigned int initcount;
int ncpus;
@@ -123,8 +122,6 @@ void __cpuinit synchronise_count_slave(void)
return;
#endif
- local_irq_save(flags);
-
/*
* Not every cpu is online at the time this gets called,
* so we first wait for the master to say everyone is ready
@@ -154,7 +151,5 @@ void __cpuinit synchronise_count_slave(void)
}
/* Arrange for an interrupt in a short while */
write_c0_compare(read_c0_count() + COUNTON);
-
- local_irq_restore(flags);
}
#undef NR_LOOPS
--
1.7.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 7/8] MIPS: smp: Warn on too early irq enable, Yong Zhang |
|---|---|
| Next by Date: | Re: [PATCH 7/8] MIPS: smp: Warn on too early irq enable, Sergei Shtylyov |
| Previous by Thread: | Re: [PATCH 7/8] MIPS: smp: Warn on too early irq enable, Sergei Shtylyov |
| Next by Thread: | Re: [PATCH 0/8] patchset focus on MIPS SMP woes, David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |