1 // SPDX-License-Identifier: GPL-2.0-only 1 2 3 #include <linux/time.h> 4 #include <linux/types.h> 5 #include <vdso/gettime.h> 6 7 extern 8 int __vdso_clock_gettime(clockid_t clock, 9 struct old_timespec32 10 { 11 return __cvdso_clock_gettime32(clock, 12 } 13 14 int __vdso_clock_gettime64(clockid_t clock, 15 struct __kernel_tim 16 { 17 return __cvdso_clock_gettime(clock, ts 18 } 19 20 int __vdso_gettimeofday(struct __kernel_old_ti 21 struct timezone *tz) 22 { 23 return __cvdso_gettimeofday(tv, tz); 24 } 25 26 int __vdso_clock_getres(clockid_t clock_id, 27 struct old_timespec32 28 { 29 return __cvdso_clock_getres_time32(clo 30 } 31
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.