Re: [PATCH 1/2] powerpc/syscalls: Use the number when building SPU syscall table

2020-06-21 Thread Michael Ellerman
Michael Ellerman writes: > On Tue, 16 Jun 2020 23:56:16 +1000, Michael Ellerman wrote: >> Currently the macro that inserts entries into the SPU syscall table >> doesn't actually use the "nr" (syscall number) parameter. >> >> This does work, but it relies on the exact right number of syscall >> en

Re: [PATCH 1/2] powerpc/syscalls: Use the number when building SPU syscall table

2020-06-18 Thread Michael Ellerman
On Tue, 16 Jun 2020 23:56:16 +1000, Michael Ellerman wrote: > Currently the macro that inserts entries into the SPU syscall table > doesn't actually use the "nr" (syscall number) parameter. > > This does work, but it relies on the exact right number of syscall > entries being emitted in order for

[PATCH 1/2] powerpc/syscalls: Use the number when building SPU syscall table

2020-06-16 Thread Michael Ellerman
Currently the macro that inserts entries into the SPU syscall table doesn't actually use the "nr" (syscall number) parameter. This does work, but it relies on the exact right number of syscall entries being emitted in order for the syscal numbers to line up with the array entries. If for example w