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>
parent
daf52375
No related branches found
No related tags found
Showing
- arch/powerpc/include/asm/checksum.h 2 additions, 4 deletionsarch/powerpc/include/asm/checksum.h
- arch/powerpc/lib/checksum_32.S 27 additions, 47 deletionsarch/powerpc/lib/checksum_32.S
- arch/powerpc/lib/checksum_64.S 11 additions, 26 deletionsarch/powerpc/lib/checksum_64.S
- arch/powerpc/lib/checksum_wrappers.c 6 additions, 26 deletionsarch/powerpc/lib/checksum_wrappers.c
Loading
Please register or sign in to comment