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
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to