summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin2008-08-09 20:38:18 +0200
committerKyle McMartin2008-10-10 18:32:30 +0200
commit0be7d1fe4361bb9f2ebbd6fa394687cbe4bea950 (patch)
tree2437a775929ac6a96f3656e4c53b62c48f9456ef
parentparisc: hijack jump to start_kernel (diff)
downloadkernel-qcow2-linux-0be7d1fe4361bb9f2ebbd6fa394687cbe4bea950.tar.gz
kernel-qcow2-linux-0be7d1fe4361bb9f2ebbd6fa394687cbe4bea950.tar.xz
kernel-qcow2-linux-0be7d1fe4361bb9f2ebbd6fa394687cbe4bea950.zip
parisc: add new syscalls
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
-rw-r--r--arch/parisc/include/asm/unistd.h10
-rw-r--r--arch/parisc/kernel/syscall_table.S6
2 files changed, 14 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h
index a7d857f0e4f4..ef26b009dc5d 100644
--- a/arch/parisc/include/asm/unistd.h
+++ b/arch/parisc/include/asm/unistd.h
@@ -801,8 +801,14 @@
#define __NR_timerfd_create (__NR_Linux + 306)
#define __NR_timerfd_settime (__NR_Linux + 307)
#define __NR_timerfd_gettime (__NR_Linux + 308)
-
-#define __NR_Linux_syscalls (__NR_timerfd_gettime + 1)
+#define __NR_signalfd4 (__NR_Linux + 309)
+#define __NR_eventfd2 (__NR_Linux + 310)
+#define __NR_epoll_create1 (__NR_Linux + 311)
+#define __NR_dup3 (__NR_Linux + 312)
+#define __NR_pipe2 (__NR_Linux + 313)
+#define __NR_inotify_init1 (__NR_Linux + 314)
+
+#define __NR_Linux_syscalls (__NR_inotify_init1 + 1)
#define __IGNORE_select /* newselect */
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 6b5ac38f5a99..6084667eacf9 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -407,6 +407,12 @@
ENTRY_SAME(timerfd_create)
ENTRY_COMP(timerfd_settime)
ENTRY_COMP(timerfd_gettime)
+ ENTRY_COMP(signalfd4)
+ ENTRY_SAME(eventfd2) /* 310 */
+ ENTRY_SAME(epoll_create1)
+ ENTRY_SAME(dup3)
+ ENTRY_SAME(pipe2)
+ ENTRY_SAME(inotify_init1)
/* Nothing yet */