X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Falpha%2Flib%2Fstrncpy.S;h=a46f7f3ad8c731961dd3f24502955ab5953477ca;hb=984f2f377fdfd098f5ae58d09ee04d5e29e6112b;hp=bbdef1be5f95fda9ee4ef87cdb1827b237c01fce;hpb=7894eaf291238a62a565e9e9777483beeb00eeae;p=linux-2.6-omap-h63xx.git diff --git a/arch/alpha/lib/strncpy.S b/arch/alpha/lib/strncpy.S index bbdef1be5f9..a46f7f3ad8c 100644 --- a/arch/alpha/lib/strncpy.S +++ b/arch/alpha/lib/strncpy.S @@ -35,7 +35,7 @@ strncpy: or $3, $24, $3 # clear the bits between the last or $4, $27, $4 # written byte and the last byte in COUNT - andnot $4, $3, $4 + andnot $3, $4, $4 zap $1, $4, $1 stq_u $1, 0($16)