xref: /linux/lib/vdso/Kconfig (revision 594ce0b8a998aa4d05827cd7c0d0dcec9a1e3ae2)
1# SPDX-License-Identifier: GPL-2.0
2
3config HAVE_GENERIC_VDSO
4	bool
5
6if HAVE_GENERIC_VDSO
7
8config GENERIC_GETTIMEOFDAY
9	bool
10	help
11	  This is a generic implementation of gettimeofday vdso.
12	  Each architecture that enables this feature has to
13	  provide the fallback implementation.
14
15config GENERIC_VDSO_32
16	bool
17	depends on GENERIC_GETTIMEOFDAY && !64BIT
18	help
19	  This config option helps to avoid possible performance issues
20	  in 32 bit only architectures.
21
22config GENERIC_COMPAT_VDSO
23	bool
24	help
25	  This config option enables the compat VDSO layer.
26
27config GENERIC_VDSO_TIME_NS
28	bool
29	help
30	  Selected by architectures which support time namespaces in the
31	  VDSO
32
33config GENERIC_VDSO_OVERFLOW_PROTECT
34	bool
35	help
36	  Select to add multiplication overflow protection to the VDSO
37	  time getter functions for the price of an extra conditional
38	  in the hotpath.
39
40endif
41