git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
alpha
/
lib
/
strncpy.S
diff --git
a/arch/alpha/lib/strncpy.S
b/arch/alpha/lib/strncpy.S
index
338551c
..
bbdef1b
100644
(file)
--- a/
arch/alpha/lib/strncpy.S
+++ b/
arch/alpha/lib/strncpy.S
@@
-43,8
+43,8
@@
strncpy:
.align 4
$multiword:
.align 4
$multiword:
- subq $2
4
, 1, $2 # clear the final bits in the prev word
- or $2, $2
4
, $2
+ subq $2
7
, 1, $2 # clear the final bits in the prev word
+ or $2, $2
7
, $2
zapnot $1, $2, $1
subq $18, 1, $18
zapnot $1, $2, $1
subq $18, 1, $18
@@
-70,8
+70,8
@@
$multiword:
bne $18, 0b
1: ldq_u $1, 0($16) # clear the leading bits in the final word
bne $18, 0b
1: ldq_u $1, 0($16) # clear the leading bits in the final word
- subq $2
7
, 1, $2
- or $2, $2
7
, $2
+ subq $2
4
, 1, $2
+ or $2, $2
4
, $2
zap $1, $2, $1
stq_u $1, 0($16)
zap $1, $2, $1
stq_u $1, 0($16)