powerpc: Standardise on NR_syscalls rather than __NR_syscalls.
Michael Ellerman
mpe at ellerman.id.au
Thu Nov 26 23:15:59 AEDT 2015
On Thu, 2015-19-11 at 06:04:53 UTC, Rashmica Gupta wrote:
> Most architectures use NR_syscalls as the #define for the number of syscalls.
>
> We use __NR_syscalls, and then define NR_syscalls as __NR_syscalls.
>
> __NR_syscalls is not used outside arch code, whereas NR_syscalls is. So as
> NR_syscalls must be defined and __NR_syscalls does not, replace __NR_syscalls
> with NR_syscalls.
>
> Signed-off-by: Rashmica Gupta <rashmicy at gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/f43194e45852b0455d2a3e37
cheers
More information about the Linuxppc-dev
mailing list