X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Funistd.h;h=caede3f7067f5ce8121242458bdf1adadce15cd6;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=43904f49bfde2534358a635a7b3e85411e54013d;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/asm-x86_64/unistd.h b/include/asm-x86_64/unistd.h index 43904f49b..caede3f70 100644 --- a/include/asm-x86_64/unistd.h +++ b/include/asm-x86_64/unistd.h @@ -608,9 +608,9 @@ __SYSCALL(__NR_fchmodat, sys_fchmodat) #define __NR_faccessat 269 __SYSCALL(__NR_faccessat, sys_faccessat) #define __NR_pselect6 270 -__SYSCALL(__NR_pselect6, sys_pselect6) +__SYSCALL(__NR_pselect6, sys_ni_syscall) /* for now */ #define __NR_ppoll 271 -__SYSCALL(__NR_ppoll, sys_ppoll) +__SYSCALL(__NR_ppoll, sys_ni_syscall) /* for now */ #define __NR_unshare 272 __SYSCALL(__NR_unshare, sys_unshare) #define __NR_set_robust_list 273 @@ -625,12 +625,8 @@ __SYSCALL(__NR_tee, sys_tee) __SYSCALL(__NR_sync_file_range, sys_sync_file_range) #define __NR_vmsplice 278 __SYSCALL(__NR_vmsplice, sys_vmsplice) -#define __NR_move_pages 279 -__SYSCALL(__NR_move_pages, sys_move_pages) -#ifdef __KERNEL__ - -#define __NR_syscall_max __NR_move_pages +#define __NR_syscall_max __NR_vmsplice #ifndef __NO_STUBS @@ -647,6 +643,7 @@ do { \ return (type) (res); \ } while (0) +#ifdef __KERNEL__ #define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_OLD_STAT #define __ARCH_WANT_SYS_ALARM @@ -666,9 +663,9 @@ do { \ #define __ARCH_WANT_SYS_SIGPENDING #define __ARCH_WANT_SYS_SIGPROCMASK #define __ARCH_WANT_SYS_RT_SIGACTION -#define __ARCH_WANT_SYS_RT_SIGSUSPEND #define __ARCH_WANT_SYS_TIME #define __ARCH_WANT_COMPAT_SYS_TIME +#endif #ifndef __KERNEL_SYSCALLS__ @@ -830,7 +827,9 @@ asmlinkage long sys_fork(struct pt_regs regs); asmlinkage long sys_vfork(struct pt_regs regs); asmlinkage long sys_pipe(int *fildes); -#ifndef __ASSEMBLY__ +#endif /* __KERNEL_SYSCALLS__ */ + +#if !defined(__ASSEMBLY__) && defined(__KERNEL__) #include #include @@ -845,9 +844,9 @@ asmlinkage long sys_rt_sigaction(int sig, struct sigaction __user *oact, size_t sigsetsize); -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLY__ */ -#endif /* __KERNEL_SYSCALLS__ */ +#endif /* __NO_STUBS */ /* * "Conditional" syscalls @@ -857,8 +856,4 @@ asmlinkage long sys_rt_sigaction(int sig, */ #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") -#endif /* __NO_STUBS */ - -#endif /* __KERNEL__ */ - -#endif /* _ASM_X86_64_UNISTD_H_ */ +#endif