[PATCH] RISC-V: Include clone3() on rv32
Arnd Bergmann
arnd at arndb.de
Sun Oct 3 08:30:24 PDT 2021
On Sun, Oct 3, 2021 at 2:58 AM Palmer Dabbelt <palmer at dabbelt.com> wrote:
>
> From: Palmer Dabbelt <palmerdabbelt at google.com>
>
> 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 at google.com>
We should probably reverse the polarity of this symbol and force
architectures that don't implement it properly to say they don't
have it, but for now, it definitely makes sense to treat this the same
way on 32-bit and 64-bit risc-v.
Reviewed-by: Arnd Bergmann <arnd at arndb.de>
More information about the linux-riscv
mailing list