1 // SPDX-License-Identifier: GPL-2.0
3 * ARM64 compat userspace implementations of gettimeofday() and similar.
5 * Copyright (C) 2018 ARM Limited
9 int __vdso_clock_gettime(clockid_t clock
,
10 struct old_timespec32
*ts
)
12 return __cvdso_clock_gettime32(clock
, ts
);
15 int __vdso_clock_gettime64(clockid_t clock
,
16 struct __kernel_timespec
*ts
)
18 return __cvdso_clock_gettime(clock
, ts
);
21 int __vdso_gettimeofday(struct __kernel_old_timeval
*tv
,
24 return __cvdso_gettimeofday(tv
, tz
);
27 int __vdso_clock_getres(clockid_t clock_id
,
28 struct old_timespec32
*res
)
30 return __cvdso_clock_getres_time32(clock_id
, res
);
33 /* Avoid unresolved references emitted by GCC */
35 void __aeabi_unwind_cpp_pr0(void)
39 void __aeabi_unwind_cpp_pr1(void)
43 void __aeabi_unwind_cpp_pr2(void)