xref: /OK3568_Linux_fs/kernel/lib/vdso/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunconfig HAVE_GENERIC_VDSO
4*4882a593Smuzhiyun	bool
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunif HAVE_GENERIC_VDSO
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunconfig GENERIC_GETTIMEOFDAY
9*4882a593Smuzhiyun	bool
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	  This is a generic implementation of gettimeofday vdso.
12*4882a593Smuzhiyun	  Each architecture that enables this feature has to
13*4882a593Smuzhiyun	  provide the fallback implementation.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunconfig GENERIC_VDSO_32
16*4882a593Smuzhiyun	bool
17*4882a593Smuzhiyun	depends on GENERIC_GETTIMEOFDAY && !64BIT
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  This config option helps to avoid possible performance issues
20*4882a593Smuzhiyun	  in 32 bit only architectures.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunconfig GENERIC_COMPAT_VDSO
23*4882a593Smuzhiyun	bool
24*4882a593Smuzhiyun	help
25*4882a593Smuzhiyun	  This config option enables the compat VDSO layer.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig GENERIC_VDSO_TIME_NS
28*4882a593Smuzhiyun	bool
29*4882a593Smuzhiyun	help
30*4882a593Smuzhiyun	  Selected by architectures which support time namespaces in the
31*4882a593Smuzhiyun	  VDSO
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunendif
34