linux-mips
[Top] [All Lists]

Re: PATCH: spurious_count cleanup

To: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Subject: Re: PATCH: spurious_count cleanup
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Fri, 7 Dec 2001 00:47:28 -0200
Cc: brad@ltc.com, linux-mips@oss.sgi.com
In-reply-to: <20011204.161928.28780490.nemoto@toshiba-tops.co.jp>; from nemoto@toshiba-tops.co.jp on Tue, Dec 04, 2001 at 04:19:28PM +0900
References: <20011201004526.A22248@dev1.ltc.com> <20011204.161928.28780490.nemoto@toshiba-tops.co.jp>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Tue, Dec 04, 2001 at 04:19:28PM +0900, Atsushi Nemoto wrote:

> > --- arch/mips/kernel/entry.S        2001/11/27 01:26:46     1.32
> > +++ arch/mips/kernel/entry.S        2001/11/30 18:42:07
> > @@ -95,12 +95,12 @@
> >              * Someone tried to fool us by sending an interrupt but we
> >              * couldn't find a cause for it.
> >              */
> > -           lui     t1,%hi(spurious_count)
> > +           lui     t1,%hi(irq_err_count)
> >             .set    reorder
> > -           lw      t0,%lo(spurious_count)(t1)
> > +           lw      t0,%lo(irq_err_count)(t1)
> >             .set    noreorder
> >             addiu   t0,1
> > -           sw      t0,%lo(spurious_count)(t1)
> > +           sw      t0,%lo(irq_err_count)(t1)
> >             j       ret_from_irq
> >             END(spurious_interrupt)

The spurious_count vs. irq_err_count is already fixed in the meantime.
For the rest of the function using noreorder was entirely pointless, so
just removed those directives.

  Ralf

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