patch-2.4.22 linux-2.4.22/include/asm-arm/arch-ebsa110/uncompress.h
Next file: linux-2.4.22/include/asm-arm/arch-ebsa285/hardware.h
Previous file: linux-2.4.22/include/asm-arm/arch-ebsa110/system.h
Back to the patch index
Back to the overall index
- Lines: 49
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-arm/arch-ebsa110/uncompress.h
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.21/include/asm-arm/arch-ebsa110/uncompress.h linux-2.4.22/include/asm-arm/arch-ebsa110/uncompress.h
@@ -15,28 +15,28 @@
{
unsigned long tmp1, tmp2;
- __asm__ __volatile__("
- ldrb %0, [%2], #1
- teq %0, #0
- beq 3f
-1: strb %0, [%3]
-2: ldrb %1, [%3, #0x14]
- and %1, %1, #0x60
- teq %1, #0x60
- bne 2b
- teq %0, #'\n'
- moveq %0, #'\r'
- beq 1b
- ldrb %0, [%2], #1
- teq %0, #0
- bne 1b
-3: ldrb %1, [%3, #0x14]
- and %1, %1, #0x60
- teq %1, #0x60
- bne 3b
+ __asm__ __volatile__(" \n\
+ ldrb %0, [%2], #1 \n\
+ teq %0, #0 \n\
+ beq 3f \n\
+1: strb %0, [%3] \n\
+2: ldrb %1, [%3, #0x14] \n\
+ and %1, %1, #0x60 \n\
+ teq %1, #0x60 \n\
+ bne 2b \n\
+ teq %0, #'\n' \n\
+ moveq %0, #'\r' \n\
+ beq 1b \n\
+ ldrb %0, [%2], #1 \n\
+ teq %0, #0 \n\
+ bne 1b \n\
+3: ldrb %1, [%3, #0x14] \n\
+ and %1, %1, #0x60 \n\
+ teq %1, #0x60 \n\
+ bne 3b \n\
"
: "=&r" (tmp1), "=&r" (tmp2)
- : "0" (0), "1" (0), "r" (s), "r" (0xf0000be0) : "cc");
+ : "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)