summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-12-08 15:03:39 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-08 15:03:39 -0800
commitc6f7e1510b872c281ff603a3108c084b6548d35c (patch)
tree2be0bca6a3f34f134087a6c9c0b9964c7b9f746b /arch/sparc
parent1a0e1943d8798cb3241fb5edb9a836af1611b60a (diff)
parent6220e48d9640538ff700f2e7d24c2f9277555fd6 (diff)
downloadlinux-c6f7e1510b872c281ff603a3108c084b6548d35c.tar.bz2
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull sparc64 csum fix from Al Viro: "Fix for a brown paperbag regression in sparc64" * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: [regression fix] really dumb fuckup in sparc64 __csum_partial_copy() changes
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