summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@shortfin.cabal.ca>2008-02-18 23:00:18 +0100
committerKyle McMartin <kyle@shortfin.cabal.ca>2008-03-16 03:11:47 +0100
commitff80c66ab637df825122558d1f3f3cbdd830f962 (patch)
tree674c009edee4f03de571cf1e7f874b8550e9bf1c
parent[PARISC] remove old timerfd syscall (diff)
downloadlinux-ff80c66ab637df825122558d1f3f3cbdd830f962.tar.xz
linux-ff80c66ab637df825122558d1f3f3cbdd830f962.zip
[PARISC] wire up timerfd syscalls
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
-rw-r--r--arch/parisc/kernel/syscall_table.S3
-rw-r--r--include/asm-parisc/unistd.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 3a1dd22e8138..6b5ac38f5a99 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -404,6 +404,9 @@
ENTRY_SAME(ni_syscall) /* was timerfd */
ENTRY_SAME(eventfd)
ENTRY_COMP(fallocate) /* 305 */
+ ENTRY_SAME(timerfd_create)
+ ENTRY_COMP(timerfd_settime)
+ ENTRY_COMP(timerfd_gettime)
/* Nothing yet */
diff --git a/include/asm-parisc/unistd.h b/include/asm-parisc/unistd.h
index 081b4ae61866..f74d207c76da 100644
--- a/include/asm-parisc/unistd.h
+++ b/include/asm-parisc/unistd.h
@@ -798,6 +798,9 @@
#define __NR_timerfd (__NR_Linux + 303)
#define __NR_eventfd (__NR_Linux + 304)
#define __NR_fallocate (__NR_Linux + 305)
+#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_fallocate + 1)