powerpc: Standardise on NR_syscalls rather than __NR_syscalls.
authorRashmica Gupta <rashmicy@gmail.com>
Thu, 19 Nov 2015 06:04:53 +0000 (17:04 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Nov 2015 11:11:17 +0000 (22:11 +1100)
commitf43194e45852b0455d2a3e3730f70daa76958423
tree7d226223a0195bc11f13cd42a5a37a5f02b39387
parentcdfc8ed6904d7b0c0ca23d619b387b32070703b1
powerpc: Standardise on NR_syscalls rather than __NR_syscalls.

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@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/unistd.h
arch/powerpc/include/asm/vdso_datapage.h
arch/powerpc/kernel/systbl_chk.c
arch/powerpc/kernel/systbl_chk.sh
arch/powerpc/kernel/vdso.c
arch/powerpc/kernel/vdso32/datapage.S
arch/powerpc/kernel/vdso64/datapage.S
arch/powerpc/platforms/cell/spufs/run.c