diff options
author | Rashmica Gupta <rashmicy@gmail.com> | 2015-11-19 17:04:53 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-11-26 22:11:17 +1100 |
commit | f43194e45852b0455d2a3e3730f70daa76958423 (patch) | |
tree | 7d226223a0195bc11f13cd42a5a37a5f02b39387 /arch/powerpc/include/asm/vdso_datapage.h | |
parent | cdfc8ed6904d7b0c0ca23d619b387b32070703b1 (diff) | |
download | linux-f43194e45852b0455d2a3e3730f70daa76958423.tar.gz |
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>
Diffstat (limited to 'arch/powerpc/include/asm/vdso_datapage.h')
-rw-r--r-- | arch/powerpc/include/asm/vdso_datapage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/vdso_datapage.h b/arch/powerpc/include/asm/vdso_datapage.h index b73a8199f161..1afe90ade595 100644 --- a/arch/powerpc/include/asm/vdso_datapage.h +++ b/arch/powerpc/include/asm/vdso_datapage.h @@ -41,7 +41,7 @@ #include <linux/unistd.h> #include <linux/time.h> -#define SYSCALL_MAP_SIZE ((__NR_syscalls + 31) / 32) +#define SYSCALL_MAP_SIZE ((NR_syscalls + 31) / 32) /* * So here is the ppc64 backward compatible version |