Re: [PATCH 17/27] add generic lib/checksum.c
From: Jan-Benedict Glaw
Date: Thu Apr 30 2009 - 18:35:59 EST
On Tue, 2009-03-31 15:30:31 +0200, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> Add a generic (unoptimized) implementation of checksum.c in pure C
> for use by all architectures.
>
> Based on microblaze code by Michal Simek <monstr@xxxxxxxxx>
>
> Cc: Michal Simek <monstr@xxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> Signed-off-by: Remis Lima Baima <remis.developer@xxxxxxxxxxxxxx>
> ---
> include/asm-generic/checksum.h | 79 +++++++++++++++++
> lib/Makefile | 2 +
> lib/checksum.c | 188 ++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 269 insertions(+), 0 deletions(-)
> create mode 100644 include/asm-generic/checksum.h
> create mode 100644 lib/checksum.c
>
> diff --git a/lib/checksum.c b/lib/checksum.c
^^^^^^^^^^^^^^
> new file mode 100644
> index 0000000..4f80a4d
> --- /dev/null
> +++ b/lib/checksum.c
> @@ -0,0 +1,188 @@
> +/*
> + * arch/microblaze/lib/checksum.c
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> + *
> + * Copyright (C) 2008 Michal Simek <monstr@xxxxxxxxx>
I haven't looked at the code in detail, but it would be nice to see it
show up soon. Just faced the IP checksumming code while resurrecting
the VAX port.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@xxxxxxxxxx +49-172-7608481
Signature of: "really soon now": an unspecified period of time, likly to
the second : be greater than any reasonable definition
of "soon".
Attachment:
signature.asc
Description: Digital signature