Add extra arch overrides to asm-generic/checksum.h
authorLinas Vepstas <linas@codeaurora.org>
Mon, 31 Oct 2011 23:56:59 +0000 (18:56 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 14:34:21 +0000 (07:34 -0700)
commit4e29198e1cd7728c30c96a8483a6068c71b34e4e
tree780c0bb634c2161a89616eeb84d140d6ec641d3d
parent4f4567cf4ff586e318aa1bc586a69570d64b162a
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 <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/checksum.h