summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/alpha/lib/stxncpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/lib/stxncpy.S b/arch/alpha/lib/stxncpy.S
index 0b5717f84412..9f0d16737cf0 100644
--- a/arch/alpha/lib/stxncpy.S
+++ b/arch/alpha/lib/stxncpy.S
@@ -278,7 +278,7 @@ $u_eoc:
extqh t2, a1, t0 # e0 : extract low bits for last word
or t1, t0, t1 # e1 :
-1: cmpbge zero, t1, t7
+1: cmpbge zero, t1, t8
mov t1, t0
$u_eocfin: # end-of-count, final word