| To: | brad@ltc.com |
|---|---|
| Subject: | Re: PATCH: spurious_count cleanup |
| From: | Atsushi Nemoto <nemoto@toshiba-tops.co.jp> |
| Date: | Tue, 04 Dec 2001 16:19:28 +0900 (JST) |
| Cc: | ralf@oss.sgi.com, linux-mips@oss.sgi.com |
| In-reply-to: | <20011201004526.A22248@dev1.ltc.com> |
| Organization: | TOSHIBA Personal Computer System Corporation |
| References: | <20011201004526.A22248@dev1.ltc.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
BTW, ".set noreorder" in this code seems dangerous while the jump instruction is not followed by nop... > --- 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) > --- Atsushi Nemoto |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | config problem?, Zhang Fuxin |
|---|---|
| Next by Date: | Re: 2.4.16 success on Indy (was Re: 2.4.16 success on Decstation 5000/150), Ladislav Michl |
| Previous by Thread: | config problem?, Zhang Fuxin |
| Next by Thread: | Re: PATCH: spurious_count cleanup, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |