1$ clobber bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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;
 	}
 


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux