mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
All architectures which use the generic VDSO code have their own storage for the VDSO clock mode. That's pointless and just requires duplicate code. Provide generic storage for it. The new Kconfig symbol is intermediate and will be removed once all architectures are converted over. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Link: https://lkml.kernel.org/r/20200207124403.028046322@linutronix.de
37 lines
712 B
Plaintext
37 lines
712 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config HAVE_GENERIC_VDSO
|
|
bool
|
|
|
|
if HAVE_GENERIC_VDSO
|
|
|
|
config GENERIC_GETTIMEOFDAY
|
|
bool
|
|
help
|
|
This is a generic implementation of gettimeofday vdso.
|
|
Each architecture that enables this feature has to
|
|
provide the fallback implementation.
|
|
|
|
config GENERIC_VDSO_32
|
|
bool
|
|
depends on GENERIC_GETTIMEOFDAY && !64BIT
|
|
help
|
|
This config option helps to avoid possible performance issues
|
|
in 32 bit only architectures.
|
|
|
|
config GENERIC_COMPAT_VDSO
|
|
bool
|
|
help
|
|
This config option enables the compat VDSO layer.
|
|
|
|
config GENERIC_VDSO_TIME_NS
|
|
bool
|
|
help
|
|
Selected by architectures which support time namespaces in the
|
|
VDSO
|
|
|
|
config GENERIC_VDSO_CLOCK_MODE
|
|
bool
|
|
|
|
endif
|