git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
include
/
asm-x86_64
/
unistd.h
diff --git
a/include/asm-x86_64/unistd.h
b/include/asm-x86_64/unistd.h
index
43904f4
..
caede3f
100644
(file)
--- 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
#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
#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
#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)
__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
#ifndef __NO_STUBS
@@
-647,6
+643,7
@@
do { \
return (type) (res); \
} while (0)
return (type) (res); \
} while (0)
+#ifdef __KERNEL__
#define __ARCH_WANT_OLD_READDIR
#define __ARCH_WANT_OLD_STAT
#define __ARCH_WANT_SYS_ALARM
#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_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
#define __ARCH_WANT_SYS_TIME
#define __ARCH_WANT_COMPAT_SYS_TIME
+#endif
#ifndef __KERNEL_SYSCALLS__
#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);
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 <linux/linkage.h>
#include <linux/compiler.h>
#include <linux/linkage.h>
#include <linux/compiler.h>
@@
-845,9
+844,9
@@
asmlinkage long sys_rt_sigaction(int sig,
struct sigaction __user *oact,
size_t sigsetsize);
struct sigaction __user *oact,
size_t sigsetsize);
-#endif
/* __ASSEMBLY__ */
+#endif /* __ASSEMBLY__ */
-#endif /* __
KERNEL_SYSCALLS__
*/
+#endif /* __
NO_STUBS
*/
/*
* "Conditional" syscalls
/*
* "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")
*/
#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