RISC-V: Include clone3() on rv32
authorPalmer Dabbelt <palmerdabbelt@google.com>
Sun, 3 Oct 2021 00:21:20 +0000 (17:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Oct 2021 08:04:29 +0000 (10:04 +0200)
commita4037dded56bb82eb4fbb37b5bdbf18a55e2bb96
tree7885ef06ec28825d9a35524f6db34de4f37afe00
parent29fdb11ca88d3c490a3d56f0dc77eb9444d086be
RISC-V: Include clone3() on rv32

[ Upstream commit 59a4e0d5511ba61353ea9a4efdb1b86c23ecf134 ]

As far as I can tell this should be enabled on rv32 as well, I'm not
sure why it's rv64-only.  checksyscalls is complaining about our lack of
clone3() on rv32.

Fixes: 56ac5e213933 ("riscv: enable sys_clone3 syscall for rv64")
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/riscv/include/uapi/asm/unistd.h