From: Theodore Ts'o Date: Sat, 21 Sep 2013 17:58:22 +0000 (-0400) Subject: random: allow architectures to optionally define random_get_entropy() X-Git-Tag: v3.12-rc5~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61875f30daf60305712e25b209ef41ced2635bad;p=pandora-kernel.git 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" Cc: stable@vger.kernel.org --- Reading git-diff-tree failed