[PATCH 08/13] riscv: compat: Add COMPAT Kbuild skeletal support

Arnd Bergmann arnd at arndb.de
Tue Dec 21 09:21:02 PST 2021


On Tue, Dec 21, 2021 at 5:35 PM <guoren at kernel.org> wrote:
> +
> +config SYSVIPC_COMPAT
> +       def_bool y
> +       depends on COMPAT && SYSVIPC

Can this be moved to init/Kconfig next to SYSVIPC?

> +
> +COMPAT_SYSCALL_DEFINE0(rt_sigreturn)
> +{
> +       return 0;
> +}

This confused me a bit while reviewing, would it make sense to reorder the
patches to add the three missing functions first instead of adding the
dummy and then replacing it?


        Arnd



More information about the linux-riscv mailing list