Messages in this thread | | | Date | Mon, 4 Dec 2006 07:46:51 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [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/
| |