diff options
author | Janak Desai <janak@us.ibm.com> | 2006-02-08 18:43:38 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-02-08 18:43:38 -0500 |
commit | 9621a4ef8a29d11118f44def053931bcafb0dfc2 (patch) | |
tree | b1e0a0214bddd5f23133e5b12fdf8f8d24188bcd | |
parent | 9ed2ad8648eb974ee670045d41b5a51b763e3aa1 (diff) |
[IA64] unshare system call registration for ia64
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>
-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 6b88de8d91f8..27b222c277e4 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S | |||
@@ -1614,5 +1614,8 @@ sys_call_table: | |||
1614 | data8 sys_readlinkat | 1614 | data8 sys_readlinkat |
1615 | data8 sys_fchmodat | 1615 | data8 sys_fchmodat |
1616 | data8 sys_faccessat | 1616 | data8 sys_faccessat |
1617 | data8 sys_ni_syscall // reserved for pselect | ||
1618 | data8 sys_ni_syscall // 1295 reserved for ppoll | ||
1619 | data8 sys_unshare | ||
1617 | 1620 | ||
1618 | .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls | 1621 | .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 a151eb1fc73a..019956c613e4 100644 --- a/include/asm-ia64/unistd.h +++ b/include/asm-ia64/unistd.h | |||
@@ -283,12 +283,14 @@ | |||
283 | #define __NR_readlinkat 1291 | 283 | #define __NR_readlinkat 1291 |
284 | #define __NR_fchmodat 1292 | 284 | #define __NR_fchmodat 1292 |
285 | #define __NR_faccessat 1293 | 285 | #define __NR_faccessat 1293 |
286 | /* 1294, 1295 reserved for pselect/ppoll */ | ||
287 | #define __NR_unshare 1296 | ||
286 | 288 | ||
287 | #ifdef __KERNEL__ | 289 | #ifdef __KERNEL__ |
288 | 290 | ||
289 | #include <linux/config.h> | 291 | #include <linux/config.h> |
290 | 292 | ||
291 | #define NR_syscalls 270 /* length of syscall table */ | 293 | #define NR_syscalls 273 /* length of syscall table */ |
292 | 294 | ||
293 | #define __ARCH_WANT_SYS_RT_SIGACTION | 295 | #define __ARCH_WANT_SYS_RT_SIGACTION |
294 | 296 | ||