[PATCH 2/2] unshare system call: System Call setup for i386 arch

Signed-off-by: Janak Desai


 arch/i386/kernel/syscall_table.S |    1 +
 include/asm-i386/unistd.h        |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)



diff -Naurp 2.6.13-rc5-mm1/arch/i386/kernel/syscall_table.S 
2.6.13-rc5-mm1+unshare/arch/i386/kernel/syscall_table.S
--- 2.6.13-rc5-mm1/arch/i386/kernel/syscall_table.S     2005-08-07 
15:33:07.000000000 +0000
+++ 2.6.13-rc5-mm1+unshare/arch/i386/kernel/syscall_table.S     2005-08-07 
18:35:57.000000000 +0000
@@ -300,3 +300,4 @@ ENTRY(sys_call_table)
        .long sys_vperfctr_control
        .long sys_vperfctr_write
        .long sys_vperfctr_read
+       .long sys_unshare               /* 300 */
diff -Naurp 2.6.13-rc5-mm1/include/asm-i386/unistd.h 
2.6.13-rc5-mm1+unshare/include/asm-i386/unistd.h
--- 2.6.13-rc5-mm1/include/asm-i386/unistd.h    2005-08-07 15:33:40.000000000 
+0000
+++ 2.6.13-rc5-mm1+unshare/include/asm-i386/unistd.h    2005-08-07 
18:36:37.000000000 +0000
@@ -305,8 +305,9 @@
 #define __NR_vperfctr_control  (__NR_vperfctr_open+1)
 #define __NR_vperfctr_write    (__NR_vperfctr_open+2)
 #define __NR_vperfctr_read     (__NR_vperfctr_open+3)
+#define __NR_unshare           300
 
-#define NR_syscalls 300
+#define NR_syscalls 301
 
 /*
  * user-visible error numbers are in the range -1 - -128: see

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to