]> git.baikalelectronics.ru Git - kernel.git/commit
ppc: propagate the calling conventions change down to csum_partial_copy_generic()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Jul 2020 14:09:24 +0000 (10:09 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 20 Aug 2020 19:45:22 +0000 (15:45 -0400)
commit84228b2d39d146eb618c862268a259ef3dc3cef9
tree5c0494b0c4bec1c753e158cf7b25e9f1ead37088
parent8377c85dccdf8544cc538d6306ea50e966553d51
ppc: propagate the calling conventions change down to csum_partial_copy_generic()

... and get rid of the pointless fallback in the wrappers.  On error it used
to zero the unwritten area and calculate the csum of the entire thing.  Not
wanting to do it in assembler part had been very reasonable; doing that in
the first place, OTOH...  In case of an error the caller discards the data
we'd copied, along with whatever checksum it might've had.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/include/asm/checksum.h
arch/powerpc/lib/checksum_32.S
arch/powerpc/lib/checksum_64.S
arch/powerpc/lib/checksum_wrappers.c