[IA64] Wire up new syscalls {set,get}_robust_list
authorTony Luck <tony.luck@intel.com>
Thu, 6 Apr 2006 21:20:16 +0000 (14:20 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 6 Apr 2006 21:20:16 +0000 (14:20 -0700)
Join the dots to enable Ingo's robut futex syscalls.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/entry.S
include/asm-ia64/unistd.h

index 26ac96a41ebb0903d9b356ddedc478937053f74a..6e16f6b35bd33c3739dbcdd1dba0dae7744807a2 100644 (file)
@@ -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
index c15fc924b3aaa7eb28c731498ecf71f28bd5d9ab..1c749acca021b7581f91ddecfc83c9b5a16efa0b 100644 (file)
 /* 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__