patch-2.4.9 linux/arch/arm/lib/io-writesl.S

Next file: linux/arch/arm/lib/io-writesw-armv3.S
Previous file: linux/arch/arm/lib/io-writesb.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/arch/arm/lib/io-writesl.S linux/arch/arm/lib/io-writesl.S
@@ -11,7 +11,9 @@
 #include <asm/assembler.h>
 #include <asm/hardware.h>
 
-ENTRY(__arch_writesl)
+ENTRY(__raw_writesl)
+		teq	r2, #0		@ do we have to check for the zero len?
+		moveq	pc, lr
 		ands	ip, r1, #3
 		bne	2f
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)