microblaze: clean up checksum.c
authorArnd Bergmann <arnd@arndb.de>
Tue, 31 Mar 2009 13:30:31 +0000 (15:30 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 21 May 2009 13:56:07 +0000 (15:56 +0200)
commit732703af9c3478c3f935dd5ae80140b9b12bda09
tree4eba20e0ef2d98181702a5f643f2f45ab49faba1
parent838d2406ee62595c1b40d1d03b48bc9a2102258b
microblaze: clean up checksum.c

This changes the function prototypes in the checksum code
to have the usual prototypes, typically by turning int
arguments into __wsum.

Also change csum_partial_copy_from_user() to operate
on the right address space and export ip_fast_csum,
which is used in modular networking code.

The new version is now sparse-clean including endianess
checks.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/checksum.h
arch/microblaze/lib/checksum.c