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

Next file: linux-2.4.22/arch/mips64/mm/Makefile
Previous file: linux-2.4.22/arch/mips64/lib/strncpy_user.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips64/lib/strnlen_user.S linux-2.4.22/arch/mips64/lib/strnlen_user.S
@@ -25,7 +25,7 @@
 LEAF(__strnlen_user_asm)
 	ld	v0, THREAD_CURDS($28)	# pointer ok?
 	and	v0, a0
-	bltz	v0, fault
+	bnez	v0, fault
 
 FEXPORT(__strnlen_user_nocheck_asm)
 	move	v0, a0

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