diff options
Diffstat (limited to 'include/asm-x86_64/unistd.h')
| -rw-r--r-- | include/asm-x86_64/unistd.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-x86_64/unistd.h b/include/asm-x86_64/unistd.h index 2d89d309a2a8..80fd48e84bbb 100644 --- a/include/asm-x86_64/unistd.h +++ b/include/asm-x86_64/unistd.h | |||
| @@ -620,6 +620,8 @@ __SYSCALL(__NR_vmsplice, sys_vmsplice) | |||
| 620 | #define __NR_move_pages 279 | 620 | #define __NR_move_pages 279 |
| 621 | __SYSCALL(__NR_move_pages, sys_move_pages) | 621 | __SYSCALL(__NR_move_pages, sys_move_pages) |
| 622 | 622 | ||
| 623 | #ifdef __KERNEL__ | ||
| 624 | |||
| 623 | #define __NR_syscall_max __NR_move_pages | 625 | #define __NR_syscall_max __NR_move_pages |
| 624 | 626 | ||
| 625 | #ifndef __NO_STUBS | 627 | #ifndef __NO_STUBS |
| @@ -744,8 +746,6 @@ __syscall_return(type,__res); \ | |||
| 744 | 746 | ||
| 745 | #else /* __KERNEL_SYSCALLS__ */ | 747 | #else /* __KERNEL_SYSCALLS__ */ |
| 746 | 748 | ||
| 747 | #ifdef __KERNEL__ | ||
| 748 | |||
| 749 | #include <linux/syscalls.h> | 749 | #include <linux/syscalls.h> |
| 750 | #include <asm/ptrace.h> | 750 | #include <asm/ptrace.h> |
| 751 | 751 | ||
| @@ -821,8 +821,6 @@ asmlinkage long sys_fork(struct pt_regs regs); | |||
| 821 | asmlinkage long sys_vfork(struct pt_regs regs); | 821 | asmlinkage long sys_vfork(struct pt_regs regs); |
| 822 | asmlinkage long sys_pipe(int *fildes); | 822 | asmlinkage long sys_pipe(int *fildes); |
| 823 | 823 | ||
| 824 | #endif /* __KERNEL_SYSCALLS__ */ | ||
| 825 | |||
| 826 | #ifndef __ASSEMBLY__ | 824 | #ifndef __ASSEMBLY__ |
| 827 | 825 | ||
| 828 | #include <linux/linkage.h> | 826 | #include <linux/linkage.h> |
| @@ -838,9 +836,9 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
| 838 | struct sigaction __user *oact, | 836 | struct sigaction __user *oact, |
| 839 | size_t sigsetsize); | 837 | size_t sigsetsize); |
| 840 | 838 | ||
| 841 | #endif | 839 | #endif /* __ASSEMBLY__ */ |
| 842 | 840 | ||
| 843 | #endif | 841 | #endif /* __KERNEL_SYSCALLS__ */ |
| 844 | 842 | ||
| 845 | /* | 843 | /* |
| 846 | * "Conditional" syscalls | 844 | * "Conditional" syscalls |
| @@ -850,6 +848,8 @@ asmlinkage long sys_rt_sigaction(int sig, | |||
| 850 | */ | 848 | */ |
| 851 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") | 849 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") |
| 852 | 850 | ||
| 853 | #endif | 851 | #endif /* __NO_STUBS */ |
| 854 | 852 | ||
| 855 | #endif | 853 | #endif /* __KERNEL__ */ |
| 854 | |||
| 855 | #endif /* _ASM_X86_64_UNISTD_H_ */ | ||
