drm: add modifiers for MediaTek tiled formats
[drm/drm-misc.git] / arch / parisc / kernel / vdso32 / vdso32_generic.c
blob8d5bd59e8646fa7f6fc9682919e0ccc80f9297ec
1 // SPDX-License-Identifier: GPL-2.0
3 #include "asm/unistd.h"
4 #include <linux/types.h>
5 #include <uapi/asm/unistd_32.h>
7 struct timezone;
8 struct old_timespec32;
9 struct __kernel_timespec;
10 struct __kernel_old_timeval;
12 /* forward declarations */
13 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz);
14 int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts);
15 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts);
18 int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
19 struct timezone *tz)
21 return syscall2(__NR_gettimeofday, (long)tv, (long)tz);
24 int __vdso_clock_gettime(clockid_t clock, struct old_timespec32 *ts)
26 return syscall2(__NR_clock_gettime, (long)clock, (long)ts);
29 int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts)
31 return syscall2(__NR_clock_gettime64, (long)clock, (long)ts);