diff --git a/lib/vdso/Kconfig b/lib/vdso/Kconfig index db87ba34ef19..eedb04974fd5 100644 --- a/lib/vdso/Kconfig +++ b/lib/vdso/Kconfig @@ -3,10 +3,9 @@ config HAVE_GENERIC_VDSO bool -if HAVE_GENERIC_VDSO - config GENERIC_GETTIMEOFDAY bool + select HAVE_GENERIC_VDSO help This is a generic implementation of gettimeofday vdso. Each architecture that enables this feature has to @@ -21,7 +20,6 @@ config GENERIC_VDSO_OVERFLOW_PROTECT config VDSO_GETRANDOM bool + select HAVE_GENERIC_VDSO help Selected by architectures that support vDSO getrandom(). - -endif