aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/riscv/Kconfig1
-rw-r--r--arch/riscv/include/uapi/asm/unistd.h5
-rw-r--r--arch/riscv/kernel/vdso/Makefile2
3 files changed, 3 insertions, 5 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 09fa3a87bf30..feeeaa60697c 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -11,7 +11,6 @@ config 32BIT
11 11
12config RISCV 12config RISCV
13 def_bool y 13 def_bool y
14 select ARCH_32BIT_OFF_T if !64BIT
15 # even on 32-bit, physical (and DMA) addresses are > 32-bits 14 # even on 32-bit, physical (and DMA) addresses are > 32-bits
16 select PHYS_ADDR_T_64BIT 15 select PHYS_ADDR_T_64BIT
17 select OF 16 select OF
diff --git a/arch/riscv/include/uapi/asm/unistd.h b/arch/riscv/include/uapi/asm/unistd.h
index 486a288b454c..0e2eeeb1fd27 100644
--- a/arch/riscv/include/uapi/asm/unistd.h
+++ b/arch/riscv/include/uapi/asm/unistd.h
@@ -17,11 +17,8 @@
17 17
18#ifdef __LP64__ 18#ifdef __LP64__
19#define __ARCH_WANT_NEW_STAT 19#define __ARCH_WANT_NEW_STAT
20#endif /* __LP64__ */
21#define __ARCH_WANT_SET_GET_RLIMIT 20#define __ARCH_WANT_SET_GET_RLIMIT
22#ifndef __LP64__ 21#endif /* __LP64__ */
23#define __ARCH_WANT_TIME32_SYSCALLS
24#endif
25 22
26#include <asm-generic/unistd.h> 23#include <asm-generic/unistd.h>
27 24
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 @@
2 2
3# Symbols present in the vdso 3# Symbols present in the vdso
4vdso-syms = rt_sigreturn 4vdso-syms = rt_sigreturn
5ifdef CONFIG_64BIT
5vdso-syms += gettimeofday 6vdso-syms += gettimeofday
6vdso-syms += clock_gettime 7vdso-syms += clock_gettime
7vdso-syms += clock_getres 8vdso-syms += clock_getres
9endif
8vdso-syms += getcpu 10vdso-syms += getcpu
9vdso-syms += flush_icache 11vdso-syms += flush_icache
10 12