10d3b051aSGuo Ren // SPDX-License-Identifier: GPL-2.0-only
20d3b051aSGuo Ren 
30d3b051aSGuo Ren #include <linux/time.h>
40d3b051aSGuo Ren #include <linux/types.h>
50d3b051aSGuo Ren 
6*c8171a86SGuo Ren extern
7*c8171a86SGuo Ren int __vdso_clock_gettime(clockid_t clock,
8*c8171a86SGuo Ren 			 struct old_timespec32 *ts);
__vdso_clock_gettime(clockid_t clock,struct old_timespec32 * ts)90d3b051aSGuo Ren int __vdso_clock_gettime(clockid_t clock,
100d3b051aSGuo Ren 			 struct old_timespec32 *ts)
110d3b051aSGuo Ren {
120d3b051aSGuo Ren 	return __cvdso_clock_gettime32(clock, ts);
130d3b051aSGuo Ren }
140d3b051aSGuo Ren 
150d3b051aSGuo Ren int __vdso_clock_gettime64(clockid_t clock,
16*c8171a86SGuo Ren 			   struct __kernel_timespec *ts);
__vdso_clock_gettime64(clockid_t clock,struct __kernel_timespec * ts)17*c8171a86SGuo Ren int __vdso_clock_gettime64(clockid_t clock,
180d3b051aSGuo Ren 			   struct __kernel_timespec *ts)
190d3b051aSGuo Ren {
200d3b051aSGuo Ren 	return __cvdso_clock_gettime(clock, ts);
210d3b051aSGuo Ren }
220d3b051aSGuo Ren 
23*c8171a86SGuo Ren extern
24*c8171a86SGuo Ren int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
25*c8171a86SGuo Ren 			struct timezone *tz);
__vdso_gettimeofday(struct __kernel_old_timeval * tv,struct timezone * tz)260d3b051aSGuo Ren int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
270d3b051aSGuo Ren 			struct timezone *tz)
280d3b051aSGuo Ren {
290d3b051aSGuo Ren 	return __cvdso_gettimeofday(tv, tz);
300d3b051aSGuo Ren }
310d3b051aSGuo Ren 
32*c8171a86SGuo Ren extern
33*c8171a86SGuo Ren int __vdso_clock_getres(clockid_t clock_id,
34*c8171a86SGuo Ren 			struct old_timespec32 *res);
__vdso_clock_getres(clockid_t clock_id,struct old_timespec32 * res)350d3b051aSGuo Ren int __vdso_clock_getres(clockid_t clock_id,
360d3b051aSGuo Ren 			struct old_timespec32 *res)
370d3b051aSGuo Ren {
380d3b051aSGuo Ren 	return __cvdso_clock_getres_time32(clock_id, res);
390d3b051aSGuo Ren }
40