patch-2.4.9 linux/arch/arm/lib/io-readsl-armv3.S
Next file: linux/arch/arm/lib/io-readsl-armv4.S
Previous file: linux/arch/arm/lib/io-readsb.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-readsl-armv3.S
-  Orig date: 
Thu Feb  8 16:32:44 2001
diff -u --recursive --new-file v2.4.8/linux/arch/arm/lib/io-readsl-armv3.S linux/arch/arm/lib/io-readsl-armv3.S
@@ -14,7 +14,9 @@
 /*
  * Note that some reads can be aligned on half-word boundaries.
  */
-ENTRY(__arch_readsl)
+ENTRY(__raw_readsl)
+		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)