All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] x86/hash: swap parameters of crc32_u32()
@ 2014-02-21 10:33 Jan Beulich
  2014-02-22 12:09 ` Daniel Borkmann
  2014-02-25 20:26 ` H. Peter Anvin
  0 siblings, 2 replies; 20+ messages in thread
From: Jan Beulich @ 2014-02-21 10:33 UTC (permalink / raw)
  To: mingo, tglx, hpa; +Cc: davem, dborkman, ffusco, tgraf, linux-kernel

... to match its two callers (i.e. the alternative would have been to
swap the arguments at the call sites).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Francesco Fusco <ffusco@redhat.com>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Thomas Graf <tgraf@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
---
 arch/x86/lib/hash.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 3.14-rc3-x86-hash-crc32.orig/arch/x86/lib/hash.c
+++ 3.14-rc3-x86-hash-crc32/arch/x86/lib/hash.c
@@ -37,7 +37,7 @@
 #include <asm/cpufeature.h>
 #include <asm/hash.h>
 
-static inline u32 crc32_u32(u32 crc, u32 val)
+static inline u32 crc32_u32(u32 val, u32 crc)
 {
 #ifdef CONFIG_AS_CRC32
 	asm ("crc32l %1,%0\n" : "+r" (crc) : "rm" (val));




^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-02-26 16:07 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-21 10:33 [PATCH 2/3] x86/hash: swap parameters of crc32_u32() Jan Beulich
2014-02-22 12:09 ` Daniel Borkmann
2014-02-24  8:03   ` Jan Beulich
2014-02-24 10:22     ` Daniel Borkmann
2014-02-24 10:53       ` Jan Beulich
2014-02-24 11:46         ` Daniel Borkmann
2014-02-24 12:16           ` Jan Beulich
2014-02-24 12:32           ` H. Peter Anvin
2014-02-24 12:41             ` Jan Beulich
2014-02-24 12:51               ` H. Peter Anvin
2014-02-24 13:01                 ` H. Peter Anvin
2014-02-24 13:07                   ` Jan Beulich
2014-02-24 13:09                   ` Daniel Borkmann
2014-02-24 13:16                     ` H. Peter Anvin
2014-02-24 12:35     ` H. Peter Anvin
2014-02-25 20:26 ` H. Peter Anvin
2014-02-25 20:34   ` Daniel Borkmann
2014-02-25 20:37     ` H. Peter Anvin
2014-02-26  9:29       ` Jan Beulich
2014-02-26 16:06         ` H. Peter Anvin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.