aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sparc64/unistd.h
diff options
context:
space:
mode:
authorDavid S. Miller2007-03-12 19:58:18 -0700
committerDavid S. Miller2007-03-12 19:58:18 -0700
commit50d266a3a1b6a284aed7e06b599668ec23b28d6f (patch)
tree5a7c831234874a4134c3a9d3972d8059f7067a13 /include/asm-sparc64/unistd.h
parent8b9909ded6922c33c221b105b26917780cfa497d (diff)
[SPARC]: Hook up missing syscalls.
sys_mbind sys_get_mempolicy sys_set_mempolicy sys_kexec_load sys_move_pages sys_getcpu sys_epoll_pwait This work is largely a result of David Woodhouse's most excellent missing syscalls patch. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/unistd.h')
-rw-r--r--include/asm-sparc64/unistd.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-sparc64/unistd.h b/include/asm-sparc64/unistd.h
index a9f7bd9ca38c..e2dcb87e0c62 100644
--- a/include/asm-sparc64/unistd.h
+++ b/include/asm-sparc64/unistd.h
@@ -321,17 +321,17 @@
#define __NR_set_robust_list 300
#define __NR_get_robust_list 301
#define __NR_migrate_pages 302
+#define __NR_mbind 303
+#define __NR_get_mempolicy 304
+#define __NR_set_mempolicy 305
+#define __NR_kexec_load 306
+#define __NR_move_pages 307
+#define __NR_getcpu 308
+#define __NR_epoll_pwait 309
-#define NR_SYSCALLS 303
+#define NR_SYSCALLS 310
#ifdef __KERNEL__
-
-/* WARNING: You MAY NOT add syscall numbers larger than 302, since
- * all of the syscall tables in the Sparc kernel are
- * sized to have 302 entries (starting at zero). Therefore
- * find a free slot in the 0-302 range.
- */
-
/* sysconf options, for SunOS compatibility */
#define _SC_ARG_MAX 1
#define _SC_CHILD_MAX 2