Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/pseries: Select ARCH_RANDOM on pseries

We have a driver for the ARCH_RANDOM hook in rng.c, so we should select
ARCH_RANDOM on pseries.

Without this the build breaks if you turn ARCH_RANDOM off.

This hasn't broken the build because pseries_defconfig doesn't specify a
value for PPC_POWERNV, which is default y, and selects ARCH_RANDOM.

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

authored by

Michael Ellerman and committed by
Benjamin Herrenschmidt
8d4887ee 2fdd313f

+1
+1
arch/powerpc/platforms/pseries/Kconfig
··· 20 20 select PPC_DOORBELL 21 21 select HAVE_CONTEXT_TRACKING 22 22 select HOTPLUG_CPU if SMP 23 + select ARCH_RANDOM 23 24 default y 24 25 25 26 config PPC_SPLPAR