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

From: Arnd Bergmann
Date: Tue Dec 21 2021 - 13:21:25 EST


On Tue, Dec 21, 2021 at 5:35 PM <guoren@xxxxxxxxxx> 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