]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Add VDSO entries for clock_get/gettimeofday/getcpu
authorAndrew Waterman <andrew@sifive.com>
Mon, 23 Oct 2017 22:42:14 +0000 (15:42 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 27 Nov 2017 15:51:39 +0000 (07:51 -0800)
commitf8714ce380bbbfdf473375eb85f7e32d1bfe13e6
tree99e10aa9507d16028c10314397473964edfa05a4
parentbc5619e74b6ec4ab5441f12626cf5cec3b3ee9de
RISC-V: Add VDSO entries for clock_get/gettimeofday/getcpu

For now these are just placeholders that execute the syscall.  We will
later optimize them to avoid kernel crossings, but we'd like to have the
VDSO entries from the first released kernel version to make the ABI
simpler.

Signed-off-by: Andrew Waterman <andrew@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/vdso/Makefile
arch/riscv/kernel/vdso/clock_getres.S [new file with mode: 0644]
arch/riscv/kernel/vdso/clock_gettime.S [new file with mode: 0644]
arch/riscv/kernel/vdso/getcpu.S [new file with mode: 0644]
arch/riscv/kernel/vdso/gettimeofday.S [new file with mode: 0644]
arch/riscv/kernel/vdso/vdso.lds.S