mm: make wait_on_page_writeback() wait for multiple pending writebacks
[linux/fpc-iii.git] / arch / arm / vdso / vgettimeofday.c
blob1976c6f325a40117105419251976971e90eda268
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * ARM userspace implementations of gettimeofday() and similar.
5 * Copyright 2015 Mentor Graphics Corporation.
6 */
7 #include <linux/time.h>
8 #include <linux/types.h>
10 int __vdso_clock_gettime(clockid_t clock,
11 struct old_timespec32 *ts)
13 return __cvdso_clock_gettime32(clock, ts);
16 int __vdso_clock_gettime64(clockid_t clock,
17 struct __kernel_timespec *ts)
19 return __cvdso_clock_gettime(clock, ts);
22 int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
23 struct timezone *tz)
25 return __cvdso_gettimeofday(tv, tz);
28 int __vdso_clock_getres(clockid_t clock_id,
29 struct old_timespec32 *res)
31 return __cvdso_clock_getres_time32(clock_id, res);
34 /* Avoid unresolved references emitted by GCC */
36 void __aeabi_unwind_cpp_pr0(void)
40 void __aeabi_unwind_cpp_pr1(void)
44 void __aeabi_unwind_cpp_pr2(void)