Re: [PATCH] powerpc: fix sys_call_table declaration

2014-10-07 Thread Michael Ellerman
On Fri, 2014-10-03 at 11:00 +0100, Romeo Cane wrote: > On Fri, Oct 03, 2014 at 07:34:34AM +1000, Benjamin Herrenschmidt wrote: > > On Thu, 2014-10-02 at 15:41 +0100, Romeo Cane wrote: > > > Declaring sys_call_table as a pointer causes the compiler to generate the > > > wrong lookup code in arch_sy

Re: [PATCH] powerpc: fix sys_call_table declaration

2014-10-03 Thread Romeo Cane
On Fri, Oct 03, 2014 at 07:34:34AM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2014-10-02 at 15:41 +0100, Romeo Cane wrote: > > Declaring sys_call_table as a pointer causes the compiler to generate the > > wrong lookup code in arch_syscall_addr > > Care to elaborate ? > > Ben. > > > Signed-o

Re: [PATCH] powerpc: fix sys_call_table declaration

2014-10-02 Thread Benjamin Herrenschmidt
On Thu, 2014-10-02 at 15:41 +0100, Romeo Cane wrote: > Declaring sys_call_table as a pointer causes the compiler to generate the > wrong lookup code in arch_syscall_addr Care to elaborate ? Ben. > Signed-off-by: Romeo Cane > --- > arch/powerpc/include/asm/syscall.h | 2 +- > 1 file changed, 1