powerpc/pseries: Implement arch_get_random_long() based on H_RANDOM
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 11 Oct 2013 03:07:59 +0000 (14:07 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:50:21 +0000 (16:50 +1100)
Add support for the arch_get_random_long() hook based on the H_RANDOM
hypervisor call. We trust the hypervisor to provide us with random data,
ie. we don't whiten it in anyway.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found