From b3cd3b2df35a1be01a4b8a25c29719023d52454d Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Thu, 7 Dec 2006 02:14:07 +0100 Subject: [PATCH] --- yaml --- r: 43066 b: refs/heads/master c: b6bcc4bb1cdfbc3c8612aad63a8703ac3d59f61a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86_64/lib/csum-partial.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 434ea4cfa012..dddf21e18412 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8c89812684de3b47066d800031dfd7098abbdc74 +refs/heads/master: b6bcc4bb1cdfbc3c8612aad63a8703ac3d59f61a diff --git a/trunk/arch/x86_64/lib/csum-partial.c b/trunk/arch/x86_64/lib/csum-partial.c index 06ae630de82b..bc503f506903 100644 --- a/trunk/arch/x86_64/lib/csum-partial.c +++ b/trunk/arch/x86_64/lib/csum-partial.c @@ -9,8 +9,6 @@ #include #include -#define __force_inline inline __attribute__((always_inline)) - static inline unsigned short from32to16(unsigned a) { unsigned short b = a >> 16; @@ -33,7 +31,7 @@ static inline unsigned short from32to16(unsigned a) * Unrolling to an 128 bytes inner loop. * Using interleaving with more registers to break the carry chains. */ -static __force_inline unsigned do_csum(const unsigned char *buff, unsigned len) +static unsigned do_csum(const unsigned char *buff, unsigned len) { unsigned odd, count; unsigned long result = 0;