take the dummy csum_and_copy_from_user() into net/checksum.h
now that can be done conveniently - all non-trivial cases have
_HAVE_ARCH_COPY_AND_CSUM_FROM_USER defined, so the fallback in
net/checksum.h is used only for dummy (copy_from_user, then
csum_partial) implementation. Allowing us to get rid of all
dummy instances, both of csum_and_copy_from_user() and
csum_partial_copy_from_user().
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- arch/c6x/lib/checksum.c 0 additions, 22 deletionsarch/c6x/lib/checksum.c
- arch/ia64/include/asm/checksum.h 0 additions, 11 deletionsarch/ia64/include/asm/checksum.h
- arch/ia64/lib/csum_partial_copy.c 0 additions, 18 deletionsarch/ia64/lib/csum_partial_copy.c
- arch/nios2/include/asm/checksum.h 0 additions, 2 deletionsarch/nios2/include/asm/checksum.h
- arch/parisc/include/asm/checksum.h 0 additions, 8 deletionsarch/parisc/include/asm/checksum.h
- arch/parisc/lib/checksum.c 0 additions, 14 deletionsarch/parisc/lib/checksum.c
- arch/s390/include/asm/checksum.h 0 additions, 19 deletionsarch/s390/include/asm/checksum.h
- arch/x86/um/asm/checksum.h 0 additions, 20 deletionsarch/x86/um/asm/checksum.h
- include/asm-generic/checksum.h 0 additions, 9 deletionsinclude/asm-generic/checksum.h
- include/net/checksum.h 2 additions, 6 deletionsinclude/net/checksum.h
- lib/checksum.c 0 additions, 20 deletionslib/checksum.c
Loading
Please register or sign in to comment