| To: | linux-mips@oss.sgi.com |
|---|---|
| Subject: | 1$ clobber bug |
| From: | James Simmons <jsimmons@transvirtual.com> |
| Date: | Tue, 6 Nov 2001 11:19:54 -0800 (PST) |
| Sender: | owner-linux-mips@oss.sgi.com |
I believe the ITE generic time code has a 1$ clobber bug in it. Here is a
patch to fix this.
--- time.c Fri Oct 5 10:01:22 2001
+++ /usr/src/linux/arch/mips/ite-boards/generic/time.c Tue Nov 6 11:38:00 2001
@@ -303,7 +303,8 @@
:"r" (timerhi),
"m" (timerlo),
"r" (tmp),
- "r" (USECS_PER_JIFFY));
+ "r" (USECS_PER_JIFFY)
+ :"$1");
cached_quotient = quotient;
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Fwd: Kernel panic: Caught reserved exception - should not happen.], Maciej W. Rozycki |
|---|---|
| Next by Date: | Re: arcboot patches, Ralf Baechle |
| Previous by Thread: | boot Linux kernel on MIPS 5kc - Malta board, amit lubovsky |
| Next by Thread: | RE: 1$ clobber bug, James Simmons |
| Indexes: | [Date] [Thread] [Top] [All Lists] |