Commit d4c08b97 authored by Arnd Bergmann's avatar Arnd Bergmann

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: default avatarPalmer Dabbelt <palmer@sifive.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 1d5b8233
...@@ -11,7 +11,6 @@ config 32BIT ...@@ -11,7 +11,6 @@ config 32BIT
config RISCV config RISCV
def_bool y def_bool y
select ARCH_32BIT_OFF_T if !64BIT
# even on 32-bit, physical (and DMA) addresses are > 32-bits # even on 32-bit, physical (and DMA) addresses are > 32-bits
select PHYS_ADDR_T_64BIT select PHYS_ADDR_T_64BIT
select OF select OF
......
...@@ -17,11 +17,8 @@ ...@@ -17,11 +17,8 @@
#ifdef __LP64__ #ifdef __LP64__
#define __ARCH_WANT_NEW_STAT #define __ARCH_WANT_NEW_STAT
#endif /* __LP64__ */
#define __ARCH_WANT_SET_GET_RLIMIT #define __ARCH_WANT_SET_GET_RLIMIT
#ifndef __LP64__ #endif /* __LP64__ */
#define __ARCH_WANT_TIME32_SYSCALLS
#endif
#include <asm-generic/unistd.h> #include <asm-generic/unistd.h>
......
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
# Symbols present in the vdso # Symbols present in the vdso
vdso-syms = rt_sigreturn vdso-syms = rt_sigreturn
ifdef CONFIG_64BIT
vdso-syms += gettimeofday vdso-syms += gettimeofday
vdso-syms += clock_gettime vdso-syms += clock_gettime
vdso-syms += clock_getres vdso-syms += clock_getres
endif
vdso-syms += getcpu vdso-syms += getcpu
vdso-syms += flush_icache vdso-syms += flush_icache
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment