Commit 3693aa3d authored by Alistair Francis's avatar Alistair Francis Committed by Xie XiuQi
Browse files

Revert "riscv: Use latest system call ABI"

euleros inclusion
category: feature
feature: initial KVM RISC-V support
bugzilla: 46845
CVE: NA

This reverts commit d4c08b97.

The latest RISC-V 32bit glibc submission doesn't work with this patch,
so let's revert it. This revert can be reverted when the glibc
submission is updated to work on the 5.1 kernel.

Reference: https://gitee.com/openeuler/kernel/issues/I26X9V


Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
Upstream-Status: Inappropriate [enable feature]
Reviewed-by: default avatarYifei Jiang <jiangyifei@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
parent 688923d1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ config 32BIT

config RISCV
	def_bool y
	select ARCH_32BIT_OFF_T if !64BIT
	select ARCH_CLOCKSOURCE_INIT
	select ARCH_SUPPORTS_ATOMIC_RMW
	select ARCH_HAS_BINFMT_FLAT
+4 −1
Original line number Diff line number Diff line
@@ -17,9 +17,12 @@

#ifdef __LP64__
#define __ARCH_WANT_NEW_STAT
#define __ARCH_WANT_SET_GET_RLIMIT
#define __ARCH_WANT_SYS_CLONE3
#endif /* __LP64__ */
#define __ARCH_WANT_SET_GET_RLIMIT
#ifndef __LP64__
#define __ARCH_WANT_TIME32_SYSCALLS
#endif

#include <asm-generic/unistd.h>