linux-mips
[Top] [All Lists]

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

To: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Subject: Re: [PATCH][MIPS] bcm47xx: remove unneeded clear_c0_status()
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 1 Nov 2007 13:03:52 +0000
Cc: linux-mips <linux-mips@linux-mips.org>
In-reply-to: <20071101213036.c383957f.yoichi_yuasa@tripeaks.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20071101213036.c383957f.yoichi_yuasa@tripeaks.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Thu, Nov 01, 2007 at 09:30:36PM +0900, Yoichi Yuasa wrote:

> Remove unneeded clear_c0_status().
> irq_cpu routines take care of it.

Actually this write is plain nonsense; it has no effect.  The only time
acknowledging an interrupt in c0_cause is needed is for the two software
interrupts but the only user of these is SMTC.

  Ralf

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