projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://oss.sgi.com:8090/xfs/xfs-2.6
[powerpc.git]
/
include
/
asm-i386
/
unistd.h
diff --git
a/include/asm-i386/unistd.h
b/include/asm-i386/unistd.h
index
de2ccc1
..
bd99870
100644
(file)
--- a/
include/asm-i386/unistd.h
+++ b/
include/asm-i386/unistd.h
@@
-322,18
+322,21
@@
#define __NR_sync_file_range 314
#define __NR_tee 315
#define __NR_vmsplice 316
#define __NR_sync_file_range 314
#define __NR_tee 315
#define __NR_vmsplice 316
+#define __NR_move_pages 317
+#define __NR_getcpu 318
#ifdef __KERNEL__
#ifdef __KERNEL__
-#define NR_syscalls 317
+#define NR_syscalls 319
+#include <linux/err.h>
/*
/*
- * user-visible error numbers are in the range -1 - -
128
: see
+ * user-visible error numbers are in the range -1 - -
MAX_ERRNO
: see
* <asm-i386/errno.h>
*/
#define __syscall_return(type, res) \
do { \
* <asm-i386/errno.h>
*/
#define __syscall_return(type, res) \
do { \
- if ((unsigned long)(res) >= (unsigned long)(-
(128 + 1)
)) { \
+ if ((unsigned long)(res) >= (unsigned long)(-
MAX_ERRNO
)) { \
errno = -(res); \
res = -1; \
} \
errno = -(res); \
res = -1; \
} \