]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
vdso: Gate VDSO_GETRANDOM behind HAVE_GENERIC_VDSO
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 26 Aug 2025 06:17:14 +0000 (08:17 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 4 Sep 2025 09:23:51 +0000 (11:23 +0200)
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
lib/vdso/Kconfig

index 3d2c2b90d193f984e3a202e701fa7f0bfa8f1938..db87ba34ef1928fac0d5c58abca86312687cc159 100644 (file)
@@ -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