Re: [PATCH 1/2] powerpc/syscalls: Use the number when building SPU syscall table
From: Michael Ellerman
Date: Sun Jun 21 2020 - 06:12:51 EST
Michael Ellerman <patch-notifications@xxxxxxxxxxxxxx> 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
>> entries being emitted in order for the syscal numbers to line up with
>> the array entries. If for example we had two entries with the same
>> syscall number we wouldn't get an error, it would just cause all
>> subsequent syscalls to be off by one in the spu_syscall_table.
>>
>> [...]
>
> Applied to powerpc/fixes.
>
> [1/2] powerpc/syscalls: Use the number when building SPU syscall table
> https://git.kernel.org/powerpc/c/1497eea68624f6076bf3eaf66baec3771ea04045
> [2/2] powerpc/syscalls: Split SPU-ness out of ABI
> https://git.kernel.org/powerpc/c/35e32a6cb5f694fda54a5f391917e4ceefa0fece
Patch 2 dropped.
cheers