summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-12-09 00:37:47 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-12-09 00:37:47 +0300
commit6220e48d9640538ff700f2e7d24c2f9277555fd6 (patch)
treedf2a8d66ca8cefc69204bf2dde387666cf5ff487 /arch/sparc
parent4bbf439b09c5ac3f8b3e9584fe080375d8d0ad2d (diff)
downloadlinux-6220e48d9640538ff700f2e7d24c2f9277555fd6.tar.xz
[regression fix] really dumb fuckup in sparc64 __csum_partial_copy() changes
~0U is -1, not 1 Reported-by: Anatoly Pugachev <matorola@gmail.com> Tested-by: Anatoly Pugachev <matorola@gmail.com> Fixes: fdf8bee96f9a "sparc64: propagate the calling convention changes down to __csum_partial_copy_...()" X-brown-paperbag: yes Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/lib/csum_copy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/csum_copy.S b/arch/sparc/lib/csum_copy.S
index 0c0268e77155..d839956407a7 100644
--- a/arch/sparc/lib/csum_copy.S
+++ b/arch/sparc/lib/csum_copy.S
@@ -71,7 +71,7 @@
FUNC_NAME: /* %o0=src, %o1=dst, %o2=len */
LOAD(prefetch, %o0 + 0x000, #n_reads)
xor %o0, %o1, %g1
- mov 1, %o3
+ mov -1, %o3
clr %o4
andcc %g1, 0x3, %g0
bne,pn %icc, 95f