aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/unistd.h')
-rw-r--r--include/asm-powerpc/unistd.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-powerpc/unistd.h b/include/asm-powerpc/unistd.h
index ef932f1cddc3..bd3c6b6cc50e 100644
--- a/include/asm-powerpc/unistd.h
+++ b/include/asm-powerpc/unistd.h
@@ -305,12 +305,12 @@
305#define __NR_tee 284 305#define __NR_tee 284
306#define __NR_vmsplice 285 306#define __NR_vmsplice 285
307 307
308#ifdef __KERNEL__
309
308#define __NR_syscalls 286 310#define __NR_syscalls 286
309 311
310#ifdef __KERNEL__
311#define __NR__exit __NR_exit 312#define __NR__exit __NR_exit
312#define NR_syscalls __NR_syscalls 313#define NR_syscalls __NR_syscalls
313#endif
314 314
315#ifndef __ASSEMBLY__ 315#ifndef __ASSEMBLY__
316 316
@@ -422,7 +422,6 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg6
422 __syscall_nr(6, type, name, arg1, arg2, arg3, arg4, arg5, arg6); \ 422 __syscall_nr(6, type, name, arg1, arg2, arg3, arg4, arg5, arg6); \
423} 423}
424 424
425#ifdef __KERNEL__
426 425
427#include <linux/types.h> 426#include <linux/types.h>
428#include <linux/compiler.h> 427#include <linux/compiler.h>
@@ -478,8 +477,8 @@ extern int execve(const char *file, char **argv, char **envp);
478#define cond_syscall(x) asm(".weak\t." #x "\n\t.set\t." #x ",.sys_ni_syscall") 477#define cond_syscall(x) asm(".weak\t." #x "\n\t.set\t." #x ",.sys_ni_syscall")
479#endif 478#endif
480 479
481#endif /* __KERNEL__ */
482 480
483#endif /* __ASSEMBLY__ */ 481#endif /* __ASSEMBLY__ */
482#endif /* __KERNEL__ */
484 483
485#endif /* _ASM_PPC_UNISTD_H_ */ 484#endif /* _ASM_PPC_UNISTD_H_ */