Re: [PATCH 2/4] sparc: Replace NR_SYSCALLS macro with __NR_SYSCALLS

From: Firoz Khan
Date: Tue Sep 18 2018 - 05:45:21 EST


On 6 September 2018 at 20:59, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Tue, Sep 4, 2018 at 6:42 AM Firoz Khan <firoz.khan@xxxxxxxxxx> wrote:
>
>>
>> -#define NR_syscalls 361
>> +#define __NR_syscalls 361
>
> What about the suggestion that was made earlier to enclose this in
> #ifdef __KERNEL__?

The issue, keeping __NR_syscalls in uapi header was pointed out by
Michal Simek (microblaze) and Geert Uytterhoeven (m68k). I replied
them with this suggestion (enclose with #ifdef __KERNEL__). Once
they agree, my next version of patch series will have this change.

- Firoz