Skip to content

Commit

Permalink
[IA64] unshare system call registration for ia64
Browse files Browse the repository at this point in the history
Registers system call for the ia64 architecture.

Reserves space for ppoll and pselect, and adds unshare at system
call number 1296.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Janak Desai authored and Tony Luck committed Feb 8, 2006
1 parent 9ed2ad8 commit 9621a4e
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 @@ -1614,5 +1614,8 @@ sys_call_table:
data8 sys_readlinkat
data8 sys_fchmodat
data8 sys_faccessat
data8 sys_ni_syscall // reserved for pselect
data8 sys_ni_syscall // 1295 reserved for ppoll
data8 sys_unshare

.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 @@ -283,12 +283,14 @@
#define __NR_readlinkat 1291
#define __NR_fchmodat 1292
#define __NR_faccessat 1293
/* 1294, 1295 reserved for pselect/ppoll */
#define __NR_unshare 1296

#ifdef __KERNEL__

#include <linux/config.h>

#define NR_syscalls 270 /* length of syscall table */
#define NR_syscalls 273 /* length of syscall table */

#define __ARCH_WANT_SYS_RT_SIGACTION

Expand Down

0 comments on commit 9621a4e

Please sign in to comment.