patch-1.3.58 linux/include/asm-i386/delay.h
Next file: linux/include/linux/blk.h
Previous file: linux/include/asm-alpha/param.h
Back to the patch index
Back to the overall index
-  Lines: 13
 -  Date:
Thu Jan 18 06:32:06 1996
 -  Orig file: 
v1.3.57/linux/include/asm-i386/delay.h
 -  Orig date: 
Wed Nov  8 07:11:41 1995
 
diff -u --recursive --new-file v1.3.57/linux/include/asm-i386/delay.h linux/include/asm-i386/delay.h
@@ -13,7 +13,11 @@
 
 extern __inline__ void __delay(int loops)
 {
-	__asm__(".align 2,0x90\n1:\tdecl %0\n\tjns 1b": :"a" (loops):"ax");
+	__asm__ __volatile__(
+		".align 2,0x90\n1:\tdecl %0\n\tjns 1b"
+		:/* no outputs */
+		:"a" (loops)
+		:"ax");
 }
 
 /*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this