summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-08-26 08:17:14 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-09-04 11:23:51 +0200
commit258b37c6e626625fe441e16ab90e6a542a66eaee (patch)
treef2135e7bebeec09844bb8882a7f5004691d1562a
parentbad53ae2dc4296acb8cbcee385e0238cea484100 (diff)
vdso: Gate VDSO_GETRANDOM behind HAVE_GENERIC_VDSO
All architectures which want to implement getrandom() in the vDSO need to use the generic vDSO library. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250826-vdso-cleanups-v1-11-d9b65750e49f@linutronix.de
-rw-r--r--lib/vdso/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vdso/Kconfig b/lib/vdso/Kconfig
index 3d2c2b90d193..db87ba34ef19 100644
--- a/lib/vdso/Kconfig
+++ b/lib/vdso/Kconfig
@@ -19,9 +19,9 @@ config GENERIC_VDSO_OVERFLOW_PROTECT
time getter functions for the price of an extra conditional
in the hotpath.
-endif
-
config VDSO_GETRANDOM
bool
help
Selected by architectures that support vDSO getrandom().
+
+endif