linux-mips
[Top] [All Lists]

[PATCH][MIPS] bcm47xx: remove unneeded clear_c0_status()

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] bcm47xx: remove unneeded clear_c0_status()
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Thu, 1 Nov 2007 21:30:36 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Remove unneeded clear_c0_status().
irq_cpu routines take care of it.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/bcm47xx/irq.c 
mips/arch/mips/bcm47xx/irq.c
--- mips-orig/arch/mips/bcm47xx/irq.c   2007-10-26 23:35:58.630600250 +0900
+++ mips/arch/mips/bcm47xx/irq.c        2007-10-26 23:40:22.587096500 +0900
@@ -33,8 +33,6 @@ void plat_irq_dispatch(void)
 
        cause = read_c0_cause() & read_c0_status() & CAUSEF_IP;
 
-       clear_c0_status(cause);
-
        if (cause & CAUSEF_IP7)
                do_IRQ(7);
        if (cause & CAUSEF_IP2)

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