powerpc32: checksum_wrappers_64 becomes checksum_wrappers
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 22 Sep 2015 14:34:23 +0000 (16:34 +0200)
committerScott Wood <oss@buserror.net>
Sat, 5 Mar 2016 03:47:47 +0000 (21:47 -0600)
commit03bc8b0fc87616c75c6dd060a2191e7fc8faacb6
tree957b4dfc305d09183f582333388202e70f9f29ef
parent11dfbf588ae697bc5362c24294c2605f09c2d3d4
powerpc32: checksum_wrappers_64 becomes checksum_wrappers

The powerpc64 checksum wrapper functions adds csum_and_copy_to_user()
which otherwise is implemented in include/net/checksum.h by using
csum_partial() then copy_to_user()

Those two wrapper fonctions are also applicable to powerpc32 as it is
based on the use of csum_partial_copy_generic() which also
exists on powerpc32

This patch renames arch/powerpc/lib/checksum_wrappers_64.c to
arch/powerpc/lib/checksum_wrappers.c and
makes it non-conditional to CONFIG_WORD_SIZE

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/include/asm/checksum.h
arch/powerpc/lib/Makefile
arch/powerpc/lib/checksum_wrappers.c [new file with mode: 0644]
arch/powerpc/lib/checksum_wrappers_64.c [deleted file]