commit | a489043f462639988f86c1cf49475580e9dba965 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <michael@ellerman.id.au> | Fri Oct 11 14:07:59 2013 +1100 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Oct 11 16:50:21 2013 +1100 |
tree | bbd0a84b5755f096962aab9b3a36662bc3294846 | |
parent | 66548e40583b1470300341c6784fdc5176f7609f [diff] |
powerpc/pseries: Implement arch_get_random_long() based on H_RANDOM 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>