This source file includes following definitions.
- __vdso_clock_gettime
- __vdso_gettimeofday
- __vdso_clock_getres
- __vdso_clock_gettime64
- __vdso_clock_gettime
- __vdso_gettimeofday
- __vdso_clock_getres
1
2
3
4
5
6
7
8
9
10 #include <linux/time.h>
11 #include <linux/types.h>
12
13 #if _MIPS_SIM != _MIPS_SIM_ABI64
14 int __vdso_clock_gettime(clockid_t clock,
15 struct old_timespec32 *ts)
16 {
17 return __cvdso_clock_gettime32(clock, ts);
18 }
19
20 #ifdef CONFIG_MIPS_CLOCK_VSYSCALL
21
22
23
24
25
26
27
28 int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
29 struct timezone *tz)
30 {
31 return __cvdso_gettimeofday(tv, tz);
32 }
33
34 #endif
35
36 int __vdso_clock_getres(clockid_t clock_id,
37 struct old_timespec32 *res)
38 {
39 return __cvdso_clock_getres_time32(clock_id, res);
40 }
41
42 int __vdso_clock_gettime64(clockid_t clock,
43 struct __kernel_timespec *ts)
44 {
45 return __cvdso_clock_gettime(clock, ts);
46 }
47
48 #else
49
50 int __vdso_clock_gettime(clockid_t clock,
51 struct __kernel_timespec *ts)
52 {
53 return __cvdso_clock_gettime(clock, ts);
54 }
55
56 #ifdef CONFIG_MIPS_CLOCK_VSYSCALL
57
58
59
60
61
62
63
64 int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
65 struct timezone *tz)
66 {
67 return __cvdso_gettimeofday(tv, tz);
68 }
69
70 #endif
71
72 int __vdso_clock_getres(clockid_t clock_id,
73 struct __kernel_timespec *res)
74 {
75 return __cvdso_clock_getres(clock_id, res);
76 }
77
78 #endif