Re: [patch 09/36] Hexagon: Add checksum functions

From: Arnd Bergmann
Date: Wed Aug 17 2011 - 16:41:49 EST


On Wednesday 17 August 2011 11:35:06 Richard Kuo wrote:
> Signed-off-by: Richard Kuo <rkuo@xxxxxxxxxxxxxx>
>
> ---
> arch/hexagon/include/asm/checksum.h | 91 +++++++++++
> arch/hexagon/include/asm/intrinsics.h | 26 +++
> arch/hexagon/lib/checksum.c | 269 ++++++++++++++++++++++++++++++++++
> 3 files changed, 386 insertions(+)

I think you should be able to use the generic implementation for the
bits that don't have hexagon specific assembly in them, to simplify the
code.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/