summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2006-04-06 14:20:16 -0700
committerTony Luck <tony.luck@intel.com>2006-04-06 14:20:16 -0700
commitb8cd2af862c3cbd428600e1c4f0d3f97c0da54cc (patch)
treeeb5f04a684b12437852ca0b46e98026dc0e170cf
parent27f4aa3db090ff5bc0e6c192aae6d99b21563b21 (diff)
downloadop-kernel-dev-b8cd2af862c3cbd428600e1c4f0d3f97c0da54cc.zip
op-kernel-dev-b8cd2af862c3cbd428600e1c4f0d3f97c0da54cc.tar.gz
[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 26ac96a..6e16f6b 100644
--- a/arch/ia64/kernel/entry.S
+++ b/arch/ia64/kernel/entry.S
@@ -1606,8 +1606,8 @@ sys_call_table:
data8 sys_ni_syscall // 1295 reserved for ppoll
data8 sys_unshare
data8 sys_splice
- data8 sys_ni_syscall // reserved for set_robust_futex
- data8 sys_ni_syscall // reserved for get_robust_futex
+ data8 sys_set_robust_list
+ data8 sys_get_robust_list
data8 sys_sync_file_range // 1300
.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 c15fc92..1c749ac 100644
--- a/include/asm-ia64/unistd.h
+++ b/include/asm-ia64/unistd.h
@@ -286,7 +286,8 @@
/* 1294, 1295 reserved for pselect/ppoll */
#define __NR_unshare 1296
#define __NR_splice 1297
-/* 1298, 1299 reserved for {set,get}_robust_list */
+#define __NR_set_robust_list 1298
+#define __NR_get_robust_list 1299
#define __NR_sync_file_range 1300
#ifdef __KERNEL__
OpenPOWER on IntegriCloud