summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/systbl_chk.sh
diff options
context:
space:
mode:
authorRashmica Gupta <rashmicy@gmail.com>2015-11-19 17:04:53 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2015-11-26 22:11:17 +1100
commitf43194e45852b0455d2a3e3730f70daa76958423 (patch)
tree7d226223a0195bc11f13cd42a5a37a5f02b39387 /arch/powerpc/kernel/systbl_chk.sh
parentcdfc8ed6904d7b0c0ca23d619b387b32070703b1 (diff)
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/kernel/systbl_chk.sh')
-rw-r--r--arch/powerpc/kernel/systbl_chk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/systbl_chk.sh b/arch/powerpc/kernel/systbl_chk.sh
index 19415e7674a5..31b6e7c358ca 100644
--- a/arch/powerpc/kernel/systbl_chk.sh
+++ b/arch/powerpc/kernel/systbl_chk.sh
@@ -16,7 +16,7 @@ awk 'BEGIN { num = -1; } # Ignore the beginning of the file
/^START_TABLE/ { num = 0; next; }
/^END_TABLE/ {
if (num != $2) {
- printf "__NR_syscalls (%s) is not one more than the last syscall (%s)\n",
+ printf "NR_syscalls (%s) is not one more than the last syscall (%s)\n",
$2, num - 1;
exit(1);
}