[PATCH] hash: Add explicit u32 and u64 versions of hash

2007-10-24 Thread Matthew Wilcox
The 32-bit version is more efficient (and apparently gives better hash results than the 64-bit version), so users who are only hashing a 32-bit quantity can now opt to use the 32-bit version explicitly, rather than promoting to a long. Signed-off-by: Matthew Wilcox <[EMAIL PROTECTED]> --- include

[PATCH] hash: Add explicit u32 and u64 versions of hash

2007-10-18 Thread Matthew Wilcox
The 32-bit version is more efficient (and apparently gives better hash results than the 64-bit version), so users who are only hashing a 32-bit quantity can now opt to use the 32-bit version explicitly, rather than promoting to a long. Signed-off-by: Matthew Wilcox <[EMAIL PROTECTED]> --- include