aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2006-04-06 17:20:16 -0400
committerTony Luck <tony.luck@intel.com>2006-04-06 17:20:16 -0400
commitb8cd2af862c3cbd428600e1c4f0d3f97c0da54cc (patch)
treeeb5f04a684b12437852ca0b46e98026dc0e170cf
parent27f4aa3db090ff5bc0e6c192aae6d99b21563b21 (diff)
[IA64] Wire up new syscalls {set,get}_robust_list
Join the dots to enable Ingo's robut futex syscalls. Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--arch/ia64/kernel/entry.S4
-rw-r--r--include/asm-ia64/unistd.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S
index 26ac96a41eb..6e16f6b35bd 100644
--- a/arch/ia64/kernel/entry.S
+++ b/arch/ia64/kernel/entry.S
@@ -1606,8 +1606,8 @@ sys_call_table:
1606 data8 sys_ni_syscall // 1295 reserved for ppoll 1606 data8 sys_ni_syscall // 1295 reserved for ppoll
1607 data8 sys_unshare 1607 data8 sys_unshare
1608 data8 sys_splice 1608 data8 sys_splice
1609 data8 sys_ni_syscall // reserved for set_robust_futex 1609 data8 sys_set_robust_list
1610 data8 sys_ni_syscall // reserved for get_robust_futex 1610 data8 sys_get_robust_list
1611 data8 sys_sync_file_range // 1300 1611 data8 sys_sync_file_range // 1300
1612 1612
1613 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls 1613 .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 c15fc924b3a..1c749acca02 100644
--- a/include/asm-ia64/unistd.h
+++ b/include/asm-ia64/unistd.h
@@ -286,7 +286,8 @@
286/* 1294, 1295 reserved for pselect/ppoll */ 286/* 1294, 1295 reserved for pselect/ppoll */
287#define __NR_unshare 1296 287#define __NR_unshare 1296
288#define __NR_splice 1297 288#define __NR_splice 1297
289/* 1298, 1299 reserved for {set,get}_robust_list */ 289#define __NR_set_robust_list 1298
290#define __NR_get_robust_list 1299
290#define __NR_sync_file_range 1300 291#define __NR_sync_file_range 1300
291 292
292#ifdef __KERNEL__ 293#ifdef __KERNEL__