printf: Remove unused 'bprintf'
[drm/drm-misc.git] / arch / arm / vdso / vgettimeofday.c
blob3554aa35f1ba13f06f0215284d499d8d02c7d121
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>
9 #include <asm/vdso.h>
10 #include <asm/unwind.h>
11 #include <vdso/gettime.h>
13 int __vdso_clock_gettime(clockid_t clock,
14 struct old_timespec32 *ts)
16 return __cvdso_clock_gettime32(clock, ts);
19 int __vdso_clock_gettime64(clockid_t clock,
20 struct __kernel_timespec *ts)
22 return __cvdso_clock_gettime(clock, ts);
25 int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
26 struct timezone *tz)
28 return __cvdso_gettimeofday(tv, tz);
31 int __vdso_clock_getres(clockid_t clock_id,
32 struct old_timespec32 *res)
34 return __cvdso_clock_getres_time32(clock_id, res);
37 /* Avoid unresolved references emitted by GCC */
39 void __aeabi_unwind_cpp_pr0(void)
43 void __aeabi_unwind_cpp_pr1(void)
47 void __aeabi_unwind_cpp_pr2(void)