summary refs log tree commit diff
path: root/drivers/power
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-07-27 22:26:08 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-07-27 22:37:20 -0400
commitd2e7c96af1e54b507ae2a6a7dd2baf588417a7e5 (patch)
treea60b31adede15169f7835e8a4b10151f20e8bd24 /drivers/power
parentd114a33387472555188f142ed8e98acdb8181c6d (diff)
downloadlinux-d2e7c96af1e54b507ae2a6a7dd2baf588417a7e5.tar.gz
random: mix in architectural randomness in extract_buf()
Mix in any architectural randomness in extract_buf() instead of
xfer_secondary_buf().  This allows us to mix in more architectural
randomness, and it also makes xfer_secondary_buf() faster, moving a
tiny bit of additional CPU overhead to process which is extracting the
randomness.

[ Commit description modified by tytso to remove an extended
  advertisement for the RDRAND instruction. ]

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: DJ Johnston <dj.johnston@intel.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions