summaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmerdabbelt@google.com>2021-10-04 16:02:04 -0700
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-10-04 16:02:04 -0700
commit9246320672be813b5d653bb8b1b4e4206503ece9 (patch)
treeab8ef5ac010ad1af81d5e31a03555b497aa63bee /arch/riscv
parent5155cf7b6aaefe64d7d7e1f8ca1871fce55444c4 (diff)
parent59a4e0d5511ba61353ea9a4efdb1b86c23ecf134 (diff)
Merge remote-tracking branch 'palmer/riscv-clone3' into fixes
This contains a single patch to properly implement clone3() on rv32, which was missing before. In theory this is a new feature, but it's fixing a warning in checksyscalls that's now causing my build to fail so I'm calling it a fix.
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/include/uapi/asm/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/riscv/include/uapi/asm/unistd.h b/arch/riscv/include/uapi/asm/unistd.h
index 4b989ae15d59..8062996c2dfd 100644
--- a/arch/riscv/include/uapi/asm/unistd.h
+++ b/arch/riscv/include/uapi/asm/unistd.h
@@ -18,9 +18,10 @@
#ifdef __LP64__
#define __ARCH_WANT_NEW_STAT
#define __ARCH_WANT_SET_GET_RLIMIT
-#define __ARCH_WANT_SYS_CLONE3
#endif /* __LP64__ */
+#define __ARCH_WANT_SYS_CLONE3
+
#include <asm-generic/unistd.h>
/*