m68k: Add infrastructure for machine-specific random_get_entropy()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 18 Oct 2013 11:10:08 +0000 (13:10 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 26 Nov 2013 10:09:24 +0000 (11:09 +0100)
On m68k, get_cycles() (the default implementation for random_get_entropy())
always returns zero, providing no entropy for the random driver.

Add a hook where platforms can provide their own implementation, and wire
it up in the infrastructure provided by commit
61875f30daf60305712e25b209ef41ced2635bad ("random: allow architectures to
optionally define random_get_entropy()").

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

No differences found