Commit 5f5c5c30 authored by Andrew Morton's avatar Andrew Morton Committed by Anton Blanchard

ppc64: Someone removed NR_syscalls from <linux/sys.h>

parent 7441199d
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <linux/config.h> #include <linux/config.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/sys.h> #include <asm/unistd.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/mmu.h> #include <asm/mmu.h>
......
...@@ -251,6 +251,9 @@ ...@@ -251,6 +251,9 @@
#define __NR_sys_epoll_wait 238 #define __NR_sys_epoll_wait 238
#define __NR_remap_file_pages 239 #define __NR_remap_file_pages 239
#define NR_syscalls 260
#ifndef __ASSEMBLY__
#ifdef __KERNEL_SYSCALLS__ #ifdef __KERNEL_SYSCALLS__
/* /*
...@@ -284,4 +287,6 @@ extern pid_t waitpid(pid_t pid, int *wait_stat, int options); ...@@ -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"); #define cond_syscall(x) asm(".weak\t." #x "\n\t.set\t." #x ",.sys_ni_syscall");
#endif /* __ASSEMBLY__ */
#endif /* _ASM_PPC_UNISTD_H_ */ #endif /* _ASM_PPC_UNISTD_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment