Skip to content

Commit

Permalink
[IA64] Wire up new syscall sync_file_range()
Browse files Browse the repository at this point in the history
Also reserve syscall numbers for {set,get}_robust_list

Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Tony Luck committed Apr 4, 2006
1 parent 6246b61 commit d905b00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions arch/ia64/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1606,5 +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_sync_file_range // 1300

.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
4 changes: 3 additions & 1 deletion include/asm-ia64/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,14 @@
/* 1294, 1295 reserved for pselect/ppoll */
#define __NR_unshare 1296
#define __NR_splice 1297
/* 1298, 1299 reserved for {set,get}_robust_list */
#define __NR_sync_file_range 1300

#ifdef __KERNEL__

#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

Expand Down

0 comments on commit d905b00

Please sign in to comment.