From: Theodore Ts'o Date: Thu, 5 Jul 2012 14:21:01 +0000 (-0400) Subject: random: use the arch-specific rng in xfer_secondary_pool X-Git-Tag: v3.2.27~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=060bc1d0cb527cf8b77f049ff6a595ddb68a41c8;p=pandora-kernel.git random: use the arch-specific rng in xfer_secondary_pool commit e6d4947b12e8ad947add1032dd754803c6004824 upstream. If the CPU supports a hardware random number generator, use it in xfer_secondary_pool(), where it will significantly improve things and where we can afford it. Also, remove the use of the arch-specific rng in add_timer_randomness(), since the call is significantly slower than get_cycles(), and we're much better off using it in xfer_secondary_pool() anyway. Signed-off-by: "Theodore Ts'o" Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed