diff options
author | Matthew Wilcox <matthew@wil.cx> | 2008-02-06 10:36:14 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 19:41:00 +0100 |
commit | 4e701482d1d7b90c358e2bd244bb71623f767120 (patch) | |
tree | a054f87e31645eba4d9e2c76396c54afbe6fa895 /drivers/char | |
parent | use __set_task_state() for TRACED/STOPPED tasks (diff) | |
download | linux-4e701482d1d7b90c358e2bd244bb71623f767120.tar.xz linux-4e701482d1d7b90c358e2bd244bb71623f767120.zip |
hash: add explicit u32 and u64 versions of hash
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 <willy@linux.intel.com>
Cc: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions