patch-2.4.26 linux-2.4.26/arch/alpha/lib/stxncpy.S

Next file: linux-2.4.26/arch/i386/defconfig
Previous file: linux-2.4.26/arch/alpha/lib/ev6-stxncpy.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/arch/alpha/lib/stxncpy.S linux-2.4.26/arch/alpha/lib/stxncpy.S
@@ -317,7 +317,7 @@
 	cmpbge	zero, t1, t8	# .. e1 : is there a zero?
 	andnot	t2, t6, t12	# e0    : dest mask for a single word copy
 	or	t8, t10, t5	# .. e1 : test for end-of-count too
-	cmpbge	zero, t2, t3	# e0    :
+	cmpbge	zero, t12, t3	# e0    :
 	cmoveq	a2, t5, t8	# .. e1 :
 	andnot	t8, t3, t8	# e0    :
 	beq	t8, $u_head	# .. e1 (zdb)

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