patch-2.4.20 linux-2.4.20/arch/mips64/lib/strnlen_user.S

Next file: linux-2.4.20/arch/mips64/math-emu/Makefile
Previous file: linux-2.4.20/arch/mips64/lib/strlen_user.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/mips64/lib/strnlen_user.S linux-2.4.20/arch/mips64/lib/strnlen_user.S
@@ -24,7 +24,7 @@
  */
 LEAF(__strnlen_user_asm)
 	ld	v0, THREAD_CURDS($28)	# pointer ok?
-	and	v0, ta0
+	and	v0, a0
 	bltz	v0, fault
 
 FEXPORT(__strnlen_user_nocheck_asm)
@@ -38,9 +38,5 @@
 	jr	ra
 	END(__strnlen_user_asm)
 
-	.section	__ex_table,"a"
-	PTR		1b, fault
-	.previous
-
 fault:	move	v0, zero
 	jr	ra

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