lkml.org 
[lkml]   [2006]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Allow 32-bit and 64-bit hashes


On Mon, 4 Dec 2006, Matthew Wilcox wrote:
>
> The sym2 driver would like to hash a u32 value, and it could just
> call hash_long() and rely on integer promotion on 64-bit machines, but
> that seems a little wasteful.

Hmm. It would appear that the <linux/hash.h> file now needs
<linux/types.h>, no?

I do think it's a good change otherwise.

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

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.028 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site