linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [loongson] Remove redundant local_irq_disable()
@ 2009-10-08 12:39 Wu Zhangjin
  2009-10-08 19:01 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Wu Zhangjin @ 2009-10-08 12:39 UTC (permalink / raw)
  To: linux-mips; +Cc: Wu Zhangjin

That code is executed with irq disabled already, so, Remove the redundant
local_irq_disable() here.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 arch/mips/loongson/common/irq.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/mips/loongson/common/irq.c b/arch/mips/loongson/common/irq.c
index 53dff17..20e7328 100644
--- a/arch/mips/loongson/common/irq.c
+++ b/arch/mips/loongson/common/irq.c
@@ -55,7 +55,6 @@ void __init arch_init_irq(void)
 	 * int-handler is not on bootstrap
 	 */
 	clear_c0_status(ST0_IM | ST0_BEV);
-	local_irq_disable();
 
 	/* setting irq trigger mode */
 	set_irq_trigger_mode();
-- 
1.6.2.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [loongson] Remove redundant local_irq_disable()
  2009-10-08 12:39 [PATCH] [loongson] Remove redundant local_irq_disable() Wu Zhangjin
@ 2009-10-08 19:01 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-10-08 19:01 UTC (permalink / raw)
  To: Wu Zhangjin; +Cc: linux-mips

On Thu, Oct 08, 2009 at 08:39:50PM +0800, Wu Zhangjin wrote:

> That code is executed with irq disabled already, so, Remove the redundant
> local_irq_disable() here.

Applied, thanks!

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-08 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08 12:39 [PATCH] [loongson] Remove redundant local_irq_disable() Wu Zhangjin
2009-10-08 19:01 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).