Patch "arm64: Move __ARCH_WANT_SYS_CLONE3 definition to uapi headers" has been added to the 5.4-stable tree

gregkh at gregkh at
Mon Jan 13 13:53:35 PST 2020

This is a note to let you know that I've just added the patch titled

    arm64: Move __ARCH_WANT_SYS_CLONE3 definition to uapi headers

to the 5.4-stable tree which can be found at:;a=summary

The filename of the patch is:
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable at> know about it.

>From 3e3c8ca5a351350031f0f3d5ecedf7048b1b9008 Mon Sep 17 00:00:00 2001
From: Amanieu d'Antras <amanieu at>
Date: Thu, 2 Jan 2020 18:24:07 +0100
Subject: arm64: Move __ARCH_WANT_SYS_CLONE3 definition to uapi headers

From: Amanieu d'Antras <amanieu at>

commit 3e3c8ca5a351350031f0f3d5ecedf7048b1b9008 upstream.

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 <amanieu at>
Cc: linux-arm-kernel at
Cc: <stable at> # 5.3.x
Reviewed-by: Arnd Bergmann <arnd at>
Signed-off-by: Christian Brauner <christian.brauner at>
Signed-off-by: Greg Kroah-Hartman <gregkh at>

 arch/arm64/include/asm/unistd.h      |    1 -
 arch/arm64/include/uapi/asm/unistd.h |    1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

--- a/arch/arm64/include/asm/unistd.h
+++ b/arch/arm64/include/asm/unistd.h
@@ -42,7 +42,6 @@
 #include <uapi/asm/unistd.h>
--- a/arch/arm64/include/uapi/asm/unistd.h
+++ b/arch/arm64/include/uapi/asm/unistd.h
@@ -19,5 +19,6 @@
 #include <asm-generic/unistd.h>

Patches currently in stable-queue which might be from amanieu at are


More information about the linux-arm-kernel mailing list