aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-02-18 17:43:12 +0100
committerArnd Bergmann <arnd@arndb.de>2019-02-25 20:53:52 +0100
commitd4c08b9776b392e20efc6198ebe1bc8ec1911d9b (patch)
treee77feaf2909f208f94a7a4e2f27837c4fea704aa /arch/riscv/kernel
parentchecksyscalls: fix up mq_timedreceive and stat exceptions (diff)
downloadlinux-dev-d4c08b9776b392e20efc6198ebe1bc8ec1911d9b.tar.xz
linux-dev-d4c08b9776b392e20efc6198ebe1bc8ec1911d9b.zip
riscv: Use latest system call ABI
We don't yet have an upstream glibc port for riscv, so there is no user space for the existing ABI, and we can remove the definitions for 32-bit time_t, off_t and struct resource and system calls based on them, including the vdso. Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/riscv/kernel')
-rw-r--r--arch/riscv/kernel/vdso/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/kernel/vdso/Makefile b/arch/riscv/kernel/vdso/Makefile
index eed1c137f618..fec62b24df89 100644
--- a/arch/riscv/kernel/vdso/Makefile
+++ b/arch/riscv/kernel/vdso/Makefile
@@ -2,9 +2,11 @@
# Symbols present in the vdso
vdso-syms = rt_sigreturn
+ifdef CONFIG_64BIT
vdso-syms += gettimeofday
vdso-syms += clock_gettime
vdso-syms += clock_getres
+endif
vdso-syms += getcpu
vdso-syms += flush_icache