diff options
author | Tony Luck <tony.luck@intel.com> | 2006-04-04 17:08:11 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-04-04 17:08:11 -0400 |
commit | d905b00b3bc9484d92dd6e9bd9fd8cf66580dc8a (patch) | |
tree | 34a379a83dad72b7ab56a482167f81703a9b9979 | |
parent | 6246b6128bbe34d0752f119cf7c5111c85fe481d (diff) |
[IA64] Wire up new syscall sync_file_range()
Also reserve syscall numbers for {set,get}_robust_list
Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r-- | arch/ia64/kernel/entry.S | 3 | ||||
-rw-r--r-- | include/asm-ia64/unistd.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index 750e8e7fbdc3..26ac96a41ebb 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S | |||
@@ -1606,5 +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 | ||
1610 | data8 sys_ni_syscall // reserved for get_robust_futex | ||
1611 | data8 sys_sync_file_range // 1300 | ||
1609 | 1612 | ||
1610 | .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 36070c1014d8..c15fc924b3aa 100644 --- a/include/asm-ia64/unistd.h +++ b/include/asm-ia64/unistd.h | |||
@@ -286,12 +286,14 @@ | |||
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 */ | ||
290 | #define __NR_sync_file_range 1300 | ||
289 | 291 | ||
290 | #ifdef __KERNEL__ | 292 | #ifdef __KERNEL__ |
291 | 293 | ||
292 | #include <linux/config.h> | 294 | #include <linux/config.h> |
293 | 295 | ||
294 | #define NR_syscalls 274 /* length of syscall table */ | 296 | #define NR_syscalls 277 /* length of syscall table */ |
295 | 297 | ||
296 | #define __ARCH_WANT_SYS_RT_SIGACTION | 298 | #define __ARCH_WANT_SYS_RT_SIGACTION |
297 | 299 | ||