summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Makefile
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2013-10-11 05:07:58 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-10-11 07:50:20 +0200
commit66548e40583b1470300341c6784fdc5176f7609f (patch)
treef8025f7e31ea5eab9db246107cba82651bd0eb36 /drivers/char/hw_random/Makefile
parentpowerpc: Implement arch_get_random_long/int() for powernv (diff)
downloadlinux-66548e40583b1470300341c6784fdc5176f7609f.tar.xz
linux-66548e40583b1470300341c6784fdc5176f7609f.zip
hwrng: Add a driver for the hwrng found in power7+ systems
Add a driver for the hwrng found in power7+ systems, based on the existing code for the arch_get_random_long() hook. We only register a single instance of the driver, not one per device, because we use the existing per_cpu array of devices in the arch code. This means we always read from the "closest" device, avoiding inter-chip memory traffic. Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/char/hw_random/Makefile')
-rw-r--r--drivers/char/hw_random/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Makefile b/drivers/char/hw_random/Makefile
index bed467c9300e..d7d2435ff7fa 100644
--- a/drivers/char/hw_random/Makefile
+++ b/drivers/char/hw_random/Makefile
@@ -24,6 +24,7 @@ obj-$(CONFIG_HW_RANDOM_NOMADIK) += nomadik-rng.o
obj-$(CONFIG_HW_RANDOM_PICOXCELL) += picoxcell-rng.o
obj-$(CONFIG_HW_RANDOM_PPC4XX) += ppc4xx-rng.o
obj-$(CONFIG_HW_RANDOM_PSERIES) += pseries-rng.o
+obj-$(CONFIG_HW_RANDOM_POWERNV) += powernv-rng.o
obj-$(CONFIG_HW_RANDOM_EXYNOS) += exynos-rng.o
obj-$(CONFIG_HW_RANDOM_TPM) += tpm-rng.o
obj-$(CONFIG_HW_RANDOM_BCM2835) += bcm2835-rng.o