patch-2.4.9 linux/arch/arm/lib/io-readsb.S
Next file: linux/arch/arm/lib/io-readsl-armv3.S
Previous file: linux/arch/arm/lib/io-pcio.S
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Sun Aug 12 11:13:59 2001
-  Orig file: 
v2.4.8/linux/arch/arm/lib/io-readsb.S
-  Orig date: 
Thu Feb  8 16:32:44 2001
diff -u --recursive --new-file v2.4.8/linux/arch/arm/lib/io-readsb.S linux/arch/arm/lib/io-readsb.S
@@ -24,7 +24,9 @@
 		subs	r2, r2, ip
 		bne	.insb_aligned
 
-ENTRY(__arch_readsb)
+ENTRY(__raw_readsb)
+		teq	r2, #0		@ do we have to check for the zero len?
+		moveq	pc, lr
 		ands	ip, r1, #3
 		bne	.insb_align
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)