From: Kyle McMartin <kyle@shortfin.cabal.ca>
Date: Mon, 18 Feb 2008 22:00:18 +0000 (-0800)
Subject: [PARISC] wire up timerfd syscalls
X-Git-Tag: v2.6.25-rc6~1^2~16
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ff80c66ab637df825122558d1f3f3cbdd830f962;p=linux-2.6-omap-h63xx.git

[PARISC] wire up timerfd syscalls

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
---

diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 3a1dd22e813..6b5ac38f5a9 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 081b4ae6186..f74d207c76d 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)