ソースを参照

[PARISC] wire up timerfd syscalls

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Kyle McMartin 17 年 前
コミット
ff80c66ab6
2 ファイル変更6 行追加0 行削除
  1. 3 0
      arch/parisc/kernel/syscall_table.S
  2. 3 0
      include/asm-parisc/unistd.h

+ 3 - 0
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 */
 

+ 3 - 0
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)