Commit Graph
2 Commits
Author SHA1 Message Date
Linas Vepstas 4e29198e1c Add extra arch overrides to asm-generic/checksum.h
There are plausible reasons for architectures to provide their own
versions of csum_partial_copy_nocheck and csum_tcpudp_magic.
By protecting these, the architecture can still re-use the
asm-generic checksum.h, instead of copying it.

Signed-off-by: Linas Vepstas <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Richard Kuo <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2011-11-01 07:34:21 -07:00
Arnd Bergmann 26a28fa4fe add generic lib/checksum.c
Add a generic (unoptimized) implementation of checksum.c in pure C
for use by all architectures that cannot be bother with implementing
their own version.

Based on microblaze code by Michal Simek <[email protected]>

Cc: Michal Simek <[email protected]>
Signed-off-by: Remis Lima Baima <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
2009-06-11 21:02:51 +02:00