aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2023-08-01 22:19:24 -0700
committerDinh Nguyen <dinguyen@kernel.org>2023-08-06 12:25:47 -0500
commit1ef550c3808421bdbbd1cd2509809cb533792afd (patch)
tree3f598fc604d4a6e1eac3cc7c8e37907d6b06274e
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff)
downloadlinux-nios_updates_for_v6.6.tar.gz
nios2: support clone3() syscallnios_updates_for_v6.6
Add support for the clone3() syscall to prevent a warning from checksyscalls.sh: <stdin>:1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Christian Brauner <christian@brauner.io> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
-rw-r--r--arch/nios2/include/uapi/asm/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nios2/include/uapi/asm/unistd.h b/arch/nios2/include/uapi/asm/unistd.h
index 0b4bb1d41b286e..f9a37b70d45bfe 100644
--- a/arch/nios2/include/uapi/asm/unistd.h
+++ b/arch/nios2/include/uapi/asm/unistd.h
@@ -22,6 +22,7 @@
#define __ARCH_WANT_STAT64
#define __ARCH_WANT_SET_GET_RLIMIT
#define __ARCH_WANT_TIME32_SYSCALLS
+#define __ARCH_WANT_SYS_CLONE3
/* Use the standard ABI for syscalls */
#include <asm-generic/unistd.h>