root/arch/riscv/kernel/vdso/gettimeofday.S

/* [<][>][^][v][top][bottom][index][help] */
   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * Copyright (C) 2017 SiFive
   4  */
   5 
   6 #include <linux/linkage.h>
   7 #include <asm/unistd.h>
   8 
   9         .text
  10 /* int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz); */
  11 ENTRY(__vdso_gettimeofday)
  12         .cfi_startproc
  13         /* For now, just do the syscall. */
  14         li a7, __NR_gettimeofday
  15         ecall
  16         ret
  17         .cfi_endproc
  18 ENDPROC(__vdso_gettimeofday)

/* [<][>][^][v][top][bottom][index][help] */