aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2008-02-06 16:57:46 -0500
committerTony Luck <tony.luck@intel.com>2008-02-08 15:00:32 -0500
commitad9e39c70f46c5e17b1ed5912e8693454fec1455 (patch)
tree8066cb89bb969e4668825821fa883f6f9ad08ad8
parenta4ffc0a0b240a29cbe489f6db9dae112a49ef1c1 (diff)
[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>
-rw-r--r--arch/ia64/kernel/entry.S5
-rw-r--r--include/asm-ia64/unistd.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S
index f5d3efbfbeda..3c331c464b40 100644
--- a/arch/ia64/kernel/entry.S
+++ b/arch/ia64/kernel/entry.S
@@ -1573,7 +1573,7 @@ sys_call_table:
1573 data8 sys_fchmodat 1573 data8 sys_fchmodat
1574 data8 sys_faccessat 1574 data8 sys_faccessat
1575 data8 sys_pselect6 1575 data8 sys_pselect6
1576 data8 sys_ppoll 1576 data8 sys_ppoll // 1295
1577 data8 sys_unshare 1577 data8 sys_unshare
1578 data8 sys_splice 1578 data8 sys_splice
1579 data8 sys_set_robust_list 1579 data8 sys_set_robust_list
@@ -1588,5 +1588,8 @@ sys_call_table:
1588 data8 sys_signalfd 1588 data8 sys_signalfd
1589 data8 sys_ni_syscall 1589 data8 sys_ni_syscall
1590 data8 sys_eventfd 1590 data8 sys_eventfd
1591 data8 sys_timerfd_create // 1310
1592 data8 sys_timerfd_settime
1593 data8 sys_timerfd_gettime
1591 1594
1592 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls 1595 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
diff --git a/include/asm-ia64/unistd.h b/include/asm-ia64/unistd.h
index 315f8de950a2..e60314716122 100644
--- a/include/asm-ia64/unistd.h
+++ b/include/asm-ia64/unistd.h
@@ -299,11 +299,14 @@
299#define __NR_signalfd 1307 299#define __NR_signalfd 1307
300#define __NR_timerfd 1308 300#define __NR_timerfd 1308
301#define __NR_eventfd 1309 301#define __NR_eventfd 1309
302#define __NR_timerfd_create 1310
303#define __NR_timerfd_settime 1311
304#define __NR_timerfd_gettime 1312
302 305
303#ifdef __KERNEL__ 306#ifdef __KERNEL__
304 307
305 308
306#define NR_syscalls 286 /* length of syscall table */ 309#define NR_syscalls 289 /* length of syscall table */
307 310
308/* 311/*
309 * The following defines stop scripts/checksyscalls.sh from complaining about 312 * The following defines stop scripts/checksyscalls.sh from complaining about