vserver 1.9.3
[linux-2.6.git] / include / asm-arm / arch-ebsa110 / uncompress.h
index 8396e9a..eee9558 100644 (file)
@@ -11,8 +11,9 @@
 /*
  * This does not append a newline
  */
-static void puts(const char *s)
+static void putstr(const char *s)
 {
+       unsigned long tmp1, tmp2;
        __asm__ __volatile__(
        "ldrb   %0, [%2], #1\n"
 "      teq     %0, #0\n"
@@ -32,7 +33,8 @@ static void puts(const char *s)
 "      and     %1, %1, #0x60\n"
 "      teq     %1, #0x60\n"
 "      bne     3b"
-       : : "r" (0), "r" (0), "r" (s), "r" (0xf0000be0) : "cc");
+       : "=&r" (tmp1), "=&r" (tmp2)
+       : "r" (s), "r" (0xf0000be0) : "cc");
 }
 
 /*