diff options
author | Paul Walmsley <paul.walmsley@sifive.com> | 2019-07-18 17:15:06 -0700 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-07-18 21:47:36 -0700 |
commit | 56ac5e2139331898f29e6990f67ae8d2f080686b (patch) | |
tree | 3750b472d394808ee538b788144a44fd17282651 /arch/riscv/include | |
parent | 3bfe1fc46794631366faa3ef075e1b0ff7ba120a (diff) | |
download | linux-stable-56ac5e2139331898f29e6990f67ae8d2f080686b.tar.gz linux-stable-56ac5e2139331898f29e6990f67ae8d2f080686b.tar.bz2 linux-stable-56ac5e2139331898f29e6990f67ae8d2f080686b.zip |
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: Paul Walmsley <paul.walmsley@sifive.com>
Acked-by: Christian Brauner <christian@brauner.io>
Cc: Christian Brauner <christian@brauner.io>
Diffstat (limited to 'arch/riscv/include')
-rw-r--r-- | arch/riscv/include/uapi/asm/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/uapi/asm/unistd.h b/arch/riscv/include/uapi/asm/unistd.h index 0e2eeeb1fd27..13ce76cc5aff 100644 --- a/arch/riscv/include/uapi/asm/unistd.h +++ b/arch/riscv/include/uapi/asm/unistd.h @@ -18,6 +18,7 @@ #ifdef __LP64__ #define __ARCH_WANT_NEW_STAT #define __ARCH_WANT_SET_GET_RLIMIT +#define __ARCH_WANT_SYS_CLONE3 #endif /* __LP64__ */ #include <asm-generic/unistd.h> |