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

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