[RFC PATCH 4/5] powerpc/syscalls: Allow none instead of sys_ni_syscall

Firoz Khan firoz.khan at linaro.org
Fri Jan 18 17:23:41 AEDT 2019


Hi Michael,

On Mon, 14 Jan 2019 at 17:06, Michael Ellerman <mpe at ellerman.id.au> wrote:
>
> sys_ni_syscall is the "not-implemented" syscall syscall, which just
> returns -ENOSYS.
>
> But unless you know that it's not obvious what it does, and even if
> you do know what it means it doesn't stand out that well from other
> real syscalls.
>
> So teach the scripts to treat "none" as a synonym for
> "sys_ni_syscall". This makes the table more readable.

The idea of the first patch series for system call table generation support
is to replace uapi and syscall table as it is. That's why u can find places
where sys_ni_syscalls present. I have a plan for cleanup in the uapi header
and syscall table files. By that time all sys_ni_syscall removed from the
table (Hopefully).

I can post the cleanup patch asap.

> +       if [ "$t_entry" = "none" ]; then
> +               t_entry="sys_ni_syscall"
> +       fi
> +

In that case I don't this above change is required.

Thanks
Firoz


More information about the Linuxppc-dev mailing list