arm64: Move __ARCH_WANT_SYS_CLONE3 definition to uapi headers
authorAmanieu d'Antras <amanieu@gmail.com>
Thu, 2 Jan 2020 17:24:07 +0000 (18:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 19:08:33 +0000 (20:08 +0100)
commitbac641643c70d1ec4a4146bfc5665a1a51efb2e7
treee65448a9c210ad14f71e77bf5724280ff0d92ec1
parentd32d6d2bee55168dc27cda2e401793d0c19dbe21
arm64: Move __ARCH_WANT_SYS_CLONE3 definition to uapi headers

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@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: <stable@vger.kernel.org> # 5.3.x
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20200102172413.654385-2-amanieu@gmail.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/include/asm/unistd.h
arch/arm64/include/uapi/asm/unistd.h