X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-arm%2Farch-ebsa110%2Funcompress.h;h=1d7d841efc6e9170ebc253792edd5b596c2bbe6d;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=8396e9a3dc0b3df03088b946327a71541a55806e;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/include/asm-arm/arch-ebsa110/uncompress.h b/include/asm-arm/arch-ebsa110/uncompress.h index 8396e9a3d..1d7d841ef 100644 --- a/include/asm-arm/arch-ebsa110/uncompress.h +++ b/include/asm-arm/arch-ebsa110/uncompress.h @@ -13,6 +13,7 @@ */ static void puts(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"); } /*