Linux 5.6.13
[linux/fpc-iii.git] / arch / riscv / kernel / vdso / clock_gettime.S
blob5371fd9bc01fe06b98706ac03c01ff04e1ee7ed0
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2017 SiFive
4  */
6 #include <linux/linkage.h>
7 #include <asm/unistd.h>
9         .text
10 /* int __vdso_clock_gettime(clockid_t clock_id, struct timespec *tp); */
11 ENTRY(__vdso_clock_gettime)
12         .cfi_startproc
13         /* For now, just do the syscall. */
14         li a7, __NR_clock_gettime
15         ecall
16         ret
17         .cfi_endproc
18 ENDPROC(__vdso_clock_gettime)