aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/strncpy_user.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lib/strncpy_user.S')
-rw-r--r--arch/mips/lib/strncpy_user.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/lib/strncpy_user.S b/arch/mips/lib/strncpy_user.S
index d16c76fbfac7..5c8fb9d6b7f9 100644
--- a/arch/mips/lib/strncpy_user.S
+++ b/arch/mips/lib/strncpy_user.S
@@ -41,9 +41,9 @@ FEXPORT(__strncpy_from_user_nocheck_asm)
41 beqz t0, 2f 41 beqz t0, 2f
42 sb t0, (a0) 42 sb t0, (a0)
43 PTR_ADDIU v0, 1 43 PTR_ADDIU v0, 1
44 bne v0, a2, 1b
45 PTR_ADDIU a0, 1
46 .set reorder 44 .set reorder
45 PTR_ADDIU a0, 1
46 bne v0, a2, 1b
472: PTR_ADDU t0, a1, v0 472: PTR_ADDU t0, a1, v0
48 xor t0, a1 48 xor t0, a1
49 bltz t0, fault 49 bltz t0, fault