]> err.no Git - linux-2.6/commit
random: simplify and rename credit_entropy_store
authorMatt Mackall <mpm@selenic.com>
Tue, 29 Apr 2008 08:03:07 +0000 (01:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:25 +0000 (08:06 -0700)
commitadc782dae6c4c0f6fb679a48a544cfbcd79ae3dc
tree67ad14a2905ff12603dd72601c3ee5398f7148fb
parente68e5b664ecb9bccf68102557107a6b6d739a97c
random: simplify and rename credit_entropy_store

- emphasize bits in the name
- make zero bits lock-free
- simplify logic

Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/random.c