diff options
author | Andrew Waterman | 2017-10-23 15:42:14 -0700 |
---|---|---|
committer | Palmer Dabbelt | 2017-11-27 07:51:39 -0800 |
commit | 28dfbe6ed483e8a589cce88095d7787d61bf9c16 (patch) | |
tree | 99e10aa9507d16028c10314397473964edfa05a4 /arch/riscv/kernel/vdso/Makefile | |
parent | b7e5a591502b03b4a1408bb93a15968d6ea446ce (diff) |
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>
Diffstat (limited to 'arch/riscv/kernel/vdso/Makefile')
-rw-r--r-- | arch/riscv/kernel/vdso/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/riscv/kernel/vdso/Makefile b/arch/riscv/kernel/vdso/Makefile index 523d0a8ac8db..2dcc4f3070bc 100644 --- a/arch/riscv/kernel/vdso/Makefile +++ b/arch/riscv/kernel/vdso/Makefile @@ -1,7 +1,11 @@ # Copied from arch/tile/kernel/vdso/Makefile # Symbols present in the vdso -vdso-syms = rt_sigreturn +vdso-syms = rt_sigreturn +vdso-syms += gettimeofday +vdso-syms += clock_gettime +vdso-syms += clock_getres +vdso-syms += getcpu # Files to link into the vdso obj-vdso = $(patsubst %, %.o, $(vdso-syms)) |