patch-2.4.19 linux-2.4.19/include/asm-arm/arch-ebsa110/uncompress.h
Next file: linux-2.4.19/include/asm-arm/arch-ebsa285/keyboard.h
Previous file: linux-2.4.19/include/asm-arm/arch-ebsa110/io.h
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
Fri Aug  2 17:39:45 2002
-  Orig file: 
linux-2.4.18/include/asm-arm/arch-ebsa110/uncompress.h
-  Orig date: 
Thu Apr 12 12:20:31 2001
diff -urN linux-2.4.18/include/asm-arm/arch-ebsa110/uncompress.h linux-2.4.19/include/asm-arm/arch-ebsa110/uncompress.h
@@ -13,6 +13,8 @@
  */
 static void puts(const char *s)
 {
+	unsigned long tmp1, tmp2;
+
 	__asm__ __volatile__("
 	ldrb	%0, [%2], #1
 	teq	%0, #0
@@ -32,7 +34,9 @@
 	and	%1, %1, #0x60
 	teq	%1, #0x60
 	bne	3b
-	" : : "r" (0), "r" (0), "r" (s), "r" (0xf0000be0) : "cc");
+	"
+	 : "=&r" (tmp1), "=&r" (tmp2)
+	 : "0" (0), "1" (0), "r" (s), "r" (0xf0000be0) : "cc");
 }
 
 /*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)