patch-2.4.20 linux-2.4.20/include/asm-mips64/uaccess.h

Next file: linux-2.4.20/include/asm-mips64/unaligned.h
Previous file: linux-2.4.20/include/asm-mips64/types.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-mips64/uaccess.h linux-2.4.20/include/asm-mips64/uaccess.h
@@ -425,7 +425,7 @@
 	__asm__ __volatile__(
 		"move\t$4, %1\n\t"
 		"move\t$5, %2\n\t"
-		__MODULE_JAL(__strlen_user_nocheck_asm)
+		__MODULE_JAL(__strnlen_user_nocheck_asm)
 		"move\t%0, $2"
 		: "=r" (res)
 		: "r" (s), "r" (n)
@@ -441,7 +441,7 @@
 	__asm__ __volatile__(
 		"move\t$4, %1\n\t"
 		"move\t$5, %2\n\t"
-		__MODULE_JAL(__strlen_user_asm)
+		__MODULE_JAL(__strnlen_user_asm)
 		"move\t%0, $2"
 		: "=r" (res)
 		: "r" (s), "r" (n)

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