patch-2.3.4 linux/arch/sparc64/lib/strlen_user.S

Next file: linux/arch/sparc64/lib/strncpy_from_user.S
Previous file: linux/arch/sparc64/lib/checksum.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.3/linux/arch/sparc64/lib/strlen_user.S linux/arch/sparc64/lib/strlen_user.S
@@ -20,26 +20,26 @@
 	andcc	%o0, 3, %g0
 	be,pt	%icc, 9f
 	 sethi	%hi(HI_MAGIC), %o4
-10:	lduba	[%o0] ASI_S, %o5
+10:	lduba	[%o0] %asi, %o5
 	brz,pn	%o5, 21f
 	 add	%o0, 1, %o0
 	andcc	%o0, 3, %g0
 	be,pn	%icc, 4f
 	 or	%o4, %lo(HI_MAGIC), %o3
-11:	lduba	[%o0] ASI_S, %o5
+11:	lduba	[%o0] %asi, %o5
 	brz,pn	%o5, 22f
 	 add	%o0, 1, %o0
 	andcc	%o0, 3, %g0
 	be,pt	%icc, 13f
 	 srl	%o3, 7, %o2
-12:	lduba	[%o0] ASI_S, %o5
+12:	lduba	[%o0] %asi, %o5
 	brz,pn	%o5, 23f
 	 add	%o0, 1, %o0
 	ba,pt	%icc, 2f
-15:	 lda	[%o0] ASI_S, %o5
+15:	 lda	[%o0] %asi, %o5
 9:	or	%o4, %lo(HI_MAGIC), %o3
 4:	srl	%o3, 7, %o2
-13:	lda	[%o0] ASI_S, %o5
+13:	lda	[%o0] %asi, %o5
 2:	sub	%o5, %o2, %o4
 	andcc	%o4, %o3, %g0
 	be,pt	%icc, 13b
@@ -60,7 +60,7 @@
 	 add	%o4, 1, %o4
 	andcc	%o5, 0xff, %g0
 	bne,a,pt %icc, 2b
-14:	 lda	[%o0] ASI_S, %o5
+14:	 lda	[%o0] %asi, %o5
 	add	%o4, 1, %o4
 1:	retl
 	 sub	%o4, %o1, %o0

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