Commit d905b00b authored by Tony Luck's avatar Tony Luck

[IA64] Wire up new syscall sync_file_range()

Also reserve syscall numbers for {set,get}_robust_list
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 6246b612
...@@ -1606,5 +1606,8 @@ sys_call_table: ...@@ -1606,5 +1606,8 @@ sys_call_table:
data8 sys_ni_syscall // 1295 reserved for ppoll data8 sys_ni_syscall // 1295 reserved for ppoll
data8 sys_unshare data8 sys_unshare
data8 sys_splice data8 sys_splice
data8 sys_ni_syscall // reserved for set_robust_futex
data8 sys_ni_syscall // reserved for get_robust_futex
data8 sys_sync_file_range // 1300
.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
...@@ -286,12 +286,14 @@ ...@@ -286,12 +286,14 @@
/* 1294, 1295 reserved for pselect/ppoll */ /* 1294, 1295 reserved for pselect/ppoll */
#define __NR_unshare 1296 #define __NR_unshare 1296
#define __NR_splice 1297 #define __NR_splice 1297
/* 1298, 1299 reserved for {set,get}_robust_list */
#define __NR_sync_file_range 1300
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/config.h> #include <linux/config.h>
#define NR_syscalls 274 /* length of syscall table */ #define NR_syscalls 277 /* length of syscall table */
#define __ARCH_WANT_SYS_RT_SIGACTION #define __ARCH_WANT_SYS_RT_SIGACTION
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment