summaryrefslogtreecommitdiffstats
path: root/lib/vdso/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vdso/Kconfig')
-rw-r--r--lib/vdso/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/vdso/Kconfig b/lib/vdso/Kconfig
index d883ac2995..c46c230051 100644
--- a/lib/vdso/Kconfig
+++ b/lib/vdso/Kconfig
@@ -30,4 +30,11 @@ config GENERIC_VDSO_TIME_NS
Selected by architectures which support time namespaces in the
VDSO
+config GENERIC_VDSO_OVERFLOW_PROTECT
+ bool
+ help
+ Select to add multiplication overflow protection to the VDSO
+ time getter functions for the price of an extra conditional
+ in the hotpath.
+
endif