powerpc/vdso: Remove sys_ni_syscall and sys_call_table prototypes
Michael Ellerman
mpe at ellerman.id.au
Thu Dec 17 15:08:27 AEDT 2015
On Thu, 2015-03-12 at 11:31:06 UTC, Anton Blanchard wrote:
> Prototypes for sys_ni_syscall and sys_call_table are available
> in header files, so remove the prototypes in c code.
>
> This was noticed when building with -flto, because the prototype for
> sys_ni_syscall doesn't match the function and we get a compiler error.
Doesn't build for me:
arch/powerpc/kernel/vdso.c:675:27: error: comparison between pointer and integer [-Werror]
if (sys_call_table[i*2] != sys_ni_syscall)
^
etc.
cheers
More information about the Linuxppc-dev
mailing list