]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit28dfbe6ed483e8a589cce88095d7787d61bf9c16
tree99e10aa9507d16028c10314397473964edfa05a4
parentb7e5a591502b03b4a1408bb93a15968d6ea446ce
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