X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Falpha%2Flib%2Fstrncpy.S;h=a46f7f3ad8c731961dd3f24502955ab5953477ca;hb=83ff9dcf375c418ca3b98eb950711525ca1269e2;hp=bbdef1be5f95fda9ee4ef87cdb1827b237c01fce;hpb=4d5c34ec7b007cfb0771a36996b009f194acbb2f;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)