From 5f5c5c30b966111c3d0a9bac279c7b994345db28 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sat, 22 Feb 2003 12:51:06 +1100 Subject: [PATCH] ppc64: Someone removed NR_syscalls from --- arch/ppc64/kernel/entry.S | 2 +- include/asm-ppc64/unistd.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/ppc64/kernel/entry.S b/arch/ppc64/kernel/entry.S index 18c7c84b207a1..afab364535eaf 100644 --- a/arch/ppc64/kernel/entry.S +++ b/arch/ppc64/kernel/entry.S @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/asm-ppc64/unistd.h b/include/asm-ppc64/unistd.h index 249347ee12d2c..f4d465ae4f173 100644 --- a/include/asm-ppc64/unistd.h +++ b/include/asm-ppc64/unistd.h @@ -251,6 +251,9 @@ #define __NR_sys_epoll_wait 238 #define __NR_remap_file_pages 239 +#define NR_syscalls 260 + +#ifndef __ASSEMBLY__ #ifdef __KERNEL_SYSCALLS__ /* @@ -284,4 +287,6 @@ extern pid_t waitpid(pid_t pid, int *wait_stat, int options); */ #define cond_syscall(x) asm(".weak\t." #x "\n\t.set\t." #x ",.sys_ni_syscall"); +#endif /* __ASSEMBLY__ */ + #endif /* _ASM_PPC_UNISTD_H_ */ -- 2.53.0