]> 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)
commit3811d73f4d5952d5feb1e948f5531d1a68cb1e5c
tree99e10aa9507d16028c10314397473964edfa05a4
parent3a4c5a976adc6666837df4ba14070c9d5cb78ece
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