Skip to content

Commit 59a4e0d

Browse files
RISC-V: Include clone3() on rv32
As far as I can tell this should be enabled on rv32 as well, I'm not sure why it's rv64-only. checksyscalls is complaining about our lack of clone3() on rv32. Fixes: 56ac5e2 ("riscv: enable sys_clone3 syscall for rv64") Signed-off-by: Palmer Dabbelt <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Acked-by: Christian Brauner <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 6880fa6 commit 59a4e0d

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)