Skip to content

Commit 3e3c8ca

Browse files
AmanieuChristian Brauner
authored andcommitted
arm64: Move __ARCH_WANT_SYS_CLONE3 definition to uapi headers
Previously this was only defined in the internal headers which resulted in __NR_clone3 not being defined in the user headers. Signed-off-by: Amanieu d'Antras <[email protected]> Cc: [email protected] Cc: <[email protected]> # 5.3.x Reviewed-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent c79f46a commit 3e3c8ca

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

arch/arm64/include/asm/unistd.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
#endif
4343

4444
#define __ARCH_WANT_SYS_CLONE
45-
#define __ARCH_WANT_SYS_CLONE3
4645

4746
#ifndef __COMPAT_SYSCALL_NR
4847
#include <uapi/asm/unistd.h>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
#define __ARCH_WANT_NEW_STAT
2020
#define __ARCH_WANT_SET_GET_RLIMIT
2121
#define __ARCH_WANT_TIME32_SYSCALLS
22+
#define __ARCH_WANT_SYS_CLONE3
2223

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

0 commit comments

Comments
 (0)