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

Next file: linux/arch/arm/lib/io-writesl.S
Previous file: linux/arch/arm/lib/io-readsw-armv4.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/arch/arm/lib/io-writesb.S linux/arch/arm/lib/io-writesb.S
@@ -24,7 +24,9 @@
 		subs	r2, r2, ip
 		bne	.outsb_aligned
 
-ENTRY(__arch_writesb)
+ENTRY(__raw_writesb)
+		teq	r2, #0		@ do we have to check for the zero len?
+		moveq	pc, lr
 		ands	ip, r1, #3
 		bne	.outsb_align
 

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