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

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

authored by

Thomas Weißschuh and committed by
Thomas Gleixner
258b37c6 bad53ae2

+2 -2
+2 -2
lib/vdso/Kconfig
··· 19 19 time getter functions for the price of an extra conditional 20 20 in the hotpath. 21 21 22 - endif 23 - 24 22 config VDSO_GETRANDOM 25 23 bool 26 24 help 27 25 Selected by architectures that support vDSO getrandom(). 26 + 27 + endif