Skip to content

Commit 6220e48

Browse files
author
Al Viro
committed
[regression fix] really dumb fuckup in sparc64 __csum_partial_copy() changes
~0U is -1, not 1 Reported-by: Anatoly Pugachev <[email protected]> Tested-by: Anatoly Pugachev <[email protected]> Fixes: fdf8bee "sparc64: propagate the calling convention changes down to __csum_partial_copy_...()" X-brown-paperbag: yes Signed-off-by: Al Viro <[email protected]>
1 parent 4bbf439 commit 6220e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/sparc/lib/csum_copy.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
FUNC_NAME: /* %o0=src, %o1=dst, %o2=len */
7272
LOAD(prefetch, %o0 + 0x000, #n_reads)
7373
xor %o0, %o1, %g1
74-
mov 1, %o3
74+
mov -1, %o3
7575
clr %o4
7676
andcc %g1, 0x3, %g0
7777
bne,pn %icc, 95f

0 commit comments

Comments
 (0)