summaryrefslogtreecommitdiff
path: root/include/memory
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-09-21 17:58:22 (GMT)
committerTheodore Ts'o <tytso@mit.edu>2013-10-10 18:30:53 (GMT)
commit61875f30daf60305712e25b209ef41ced2635bad (patch)
tree176cda3ae729c520bff1b0f6a19806c18c0a7523 /include/memory
parent47d06e532e95b71c0db3839ebdef3fe8812fca2c (diff)
downloadlinux-fsl-qoriq-61875f30daf60305712e25b209ef41ced2635bad.tar.xz
random: allow architectures to optionally define random_get_entropy()
Allow architectures which have a disabled get_cycles() function to provide a random_get_entropy() function which provides a fine-grained, rapidly changing counter that can be used by the /dev/random driver. For example, an architecture might have a rapidly changing register used to control random TLB cache eviction, or DRAM refresh that doesn't meet the requirements of get_cycles(), but which is good enough for the needs of the random driver. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions