Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | powerpc/pseries: Fix SMP=n build of rng.c | Michael Ellerman | 2013-11-20 |
| | | | | | | | | | In commit a489043 "Implement arch_get_random_long() based on H_RANDOM" I broke the SMP=n build. We were getting plpar_wrappers.h via spinlock.h which breaks when SMP=n. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> | ||
* | powerpc/pseries: Implement arch_get_random_long() based on H_RANDOM | Michael Ellerman | 2013-10-11 |
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> |