Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56ac5e21 authored by Paul Walmsley's avatar Paul Walmsley
Browse files

riscv: enable sys_clone3 syscall for rv64

Enable the sys_clone3 syscall for RV64.  We simply include the generic
version.

Tested by running the program from

   https://lore.kernel.org/lkml/20190716130631.tohj4ub54md25dys@brauner.io/



and verifying that it completes successfully.

Signed-off-by: default avatarPaul Walmsley <paul.walmsley@sifive.com>
Acked-by: default avatarChristian Brauner <christian@brauner.io>
Cc: Christian Brauner <christian@brauner.io>
parent 3bfe1fc4
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -18,6 +18,7 @@
#ifdef __LP64__
#ifdef __LP64__
#define __ARCH_WANT_NEW_STAT
#define __ARCH_WANT_NEW_STAT
#define __ARCH_WANT_SET_GET_RLIMIT
#define __ARCH_WANT_SET_GET_RLIMIT
#define __ARCH_WANT_SYS_CLONE3
#endif /* __LP64__ */
#endif /* __LP64__ */


#include <asm-generic/unistd.h>
#include <asm-generic/unistd.h>