Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * ARM64 userspace implementations of gettimeofday() and similar.
0004  *
0005  * Copyright (C) 2018 ARM Limited
0006  *
0007  */
0008 
0009 int __kernel_clock_gettime(clockid_t clock,
0010                struct __kernel_timespec *ts)
0011 {
0012     return __cvdso_clock_gettime(clock, ts);
0013 }
0014 
0015 int __kernel_gettimeofday(struct __kernel_old_timeval *tv,
0016               struct timezone *tz)
0017 {
0018     return __cvdso_gettimeofday(tv, tz);
0019 }
0020 
0021 int __kernel_clock_getres(clockid_t clock_id,
0022               struct __kernel_timespec *res)
0023 {
0024     return __cvdso_clock_getres(clock_id, res);
0025 }