public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] registration for new system call unshare
@ 2006-02-08 23:14 JANAK DESAI
  2006-02-08 23:59 ` Kyle McMartin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: JANAK DESAI @ 2006-02-08 23:14 UTC (permalink / raw)
  To: linux-ia64

[PATCH] unshare system call: system call registration for ia64

Registers system call for the ia64 architecture.

This patch applies on top of Ken's patch (that added *at calls),
reserves space for ppoll and pselect, and adds unshare at system
call number 1296.

Signed-off-by: Janak Desai <janak@us.ibm.com>

---

 arch/ia64/kernel/entry.S  |    3 +++
 include/asm-ia64/unistd.h |    3 +++
 2 files changed, 6 insertions(+)

diff -Naurp 2.6.16-rc2-git6+ken/arch/ia64/kernel/entry.S 2.6.16-rc2-git6+ia64/arch/ia64/kernel/entry.S
--- 2.6.16-rc2-git6+ken/arch/ia64/kernel/entry.S	2006-02-08 22:36:31.000000000 +0000
+++ 2.6.16-rc2-git6+ia64/arch/ia64/kernel/entry.S	2006-02-08 21:43:30.000000000 +0000
@@ -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
diff -Naurp 2.6.16-rc2-git6+ken/include/asm-ia64/unistd.h 2.6.16-rc2-git6+ia64/include/asm-ia64/unistd.h
--- 2.6.16-rc2-git6+ken/include/asm-ia64/unistd.h	2006-02-08 22:36:32.000000000 +0000
+++ 2.6.16-rc2-git6+ia64/include/asm-ia64/unistd.h	2006-02-08 21:48:32.000000000 +0000
@@ -283,6 +283,9 @@
 #define __NR_readlinkat			1291
 #define __NR_fchmodat			1292
 #define __NR_faccessat			1293
+#define __NR_ni_syscall			1294
+#define __NR_ni_syscall			1295
+#define __NR_unshare			1296
 
 #ifdef __KERNEL__
 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-09  0:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-08 23:14 [PATCH] registration for new system call unshare JANAK DESAI
2006-02-08 23:59 ` Kyle McMartin
2006-02-09  0:09 ` Luck, Tony
2006-02-09  0:29 ` Chen, Kenneth W
2006-02-09  0:35 ` Luck, Tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox