Browse Source

[IA64] Wire up timerfd_{create,settime,gettime} syscalls

Add ia64 hooks for the new syscalls that were added in
commit 4d672e7ac79b5ec5cdc90e450823441e20464691

Signed-off-by: Tony Luck <tony.luck@intel.com>
Tony Luck 17 years ago
parent
commit
ad9e39c70f
2 changed files with 8 additions and 2 deletions
  1. 4 1
      arch/ia64/kernel/entry.S
  2. 4 1
      include/asm-ia64/unistd.h

+ 4 - 1
arch/ia64/kernel/entry.S

@@ -1573,7 +1573,7 @@ sys_call_table:
 	data8 sys_fchmodat
 	data8 sys_faccessat
 	data8 sys_pselect6
-	data8 sys_ppoll
+	data8 sys_ppoll				// 1295
 	data8 sys_unshare
 	data8 sys_splice
 	data8 sys_set_robust_list
@@ -1588,5 +1588,8 @@ sys_call_table:
 	data8 sys_signalfd
 	data8 sys_ni_syscall
 	data8 sys_eventfd
+	data8 sys_timerfd_create		// 1310
+	data8 sys_timerfd_settime
+	data8 sys_timerfd_gettime
 
 	.org sys_call_table + 8*NR_syscalls	// guard against failures to increase NR_syscalls

+ 4 - 1
include/asm-ia64/unistd.h

@@ -299,11 +299,14 @@
 #define __NR_signalfd			1307
 #define __NR_timerfd			1308
 #define __NR_eventfd			1309
+#define __NR_timerfd_create		1310
+#define __NR_timerfd_settime		1311
+#define __NR_timerfd_gettime		1312
 
 #ifdef __KERNEL__
 
 
-#define NR_syscalls			286 /* length of syscall table */
+#define NR_syscalls			289 /* length of syscall table */
 
 /*
  * The following defines stop scripts/checksyscalls.sh from complaining about