]> git.baikalelectronics.ru Git - kernel.git/commit
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:08:20 +0000 (10:08 +0200)
commitf700beb5a0e7139ae03fc5c40d7e429c97c5ffe7
tree79ecc85356ef7d6fd60221a86f4c02a2c18b424d
parent16a84ae6dd5983d60878db19f3c325388aa57fe2
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: 6e047eeef07e ("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