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>
This commit is contained in:
Rashmica Gupta
2015-11-19 17:04:53 +11:00
committed by Michael Ellerman
parent cdfc8ed690
commit f43194e458
8 changed files with 8 additions and 9 deletions

View File

@@ -12,10 +12,9 @@
#include <uapi/asm/unistd.h>
#define __NR_syscalls 379
#define NR_syscalls 379
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls
#ifndef __ASSEMBLY__