Skip to content

Commit 9246320

Browse files
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.
2 parents 5155cf7 + 59a4e0d commit 9246320

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/riscv/include/uapi/asm/unistd.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
#ifdef __LP64__
1919
#define __ARCH_WANT_NEW_STAT
2020
#define __ARCH_WANT_SET_GET_RLIMIT
21-
#define __ARCH_WANT_SYS_CLONE3
2221
#endif /* __LP64__ */
2322

23+
#define __ARCH_WANT_SYS_CLONE3
24+
2425
#include <asm-generic/unistd.h>
2526

2627
/*

0 commit comments

Comments
 (0)