add generic lib/checksum.c
commit26a28fa4fea5b8c65713aa50c124f76a88c7924d
authorArnd Bergmann <arnd@arndb.de>
Wed, 13 May 2009 22:56:38 +0000 (13 22:56 +0000)
committerArnd Bergmann <arnd@klappe2.(none)>
Thu, 11 Jun 2009 19:02:51 +0000 (11 21:02 +0200)
tree95d5989e0cdcb4f565d7546b4c0fd76e30cfd249
parenteed417ddd52146f446595b5a7d8f21b1814b95b7
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 <monstr@monstr.eu>

Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/checksum.h [new file with mode: 0644]
lib/Makefile
lib/checksum.c [new file with mode: 0644]