Skip to contentSkip to conversation

syslets: x86, wire up the syslet system calls

PATCH In review Ingo Molnar 1 participant 1 message Feb 15, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 12/14 syslets: x86, wire up the syslet system calls

From: Ingo Molnar <[email protected]>

wire up the new syslet / async system call syscalls and make it thus available to user-space.

---
 arch/i386/kernel/syscall_table.S |    6 ++++++
 include/asm-i386/unistd.h        |    8 +++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)
arch/i386/kernel/syscall_table.S +6 -0
Index: linux/arch/i386/kernel/syscall_table.S
===================================================================
@@ -319,3 +319,9 @@ ENTRY(sys_call_table)
 	.long sys_move_pages
 	.long sys_getcpu
 	.long sys_epoll_pwait
+	.long sys_async_register	/* 320 */
+	.long sys_async_exec
+	.long sys_async_wait
+	.long sys_async_unregister
+	.long sys_umem_add
+	.long sys_async_thread		/* 325 */
include/asm-i386/unistd.h +7 -1
Index: linux/include/asm-i386/unistd.h
===================================================================
@@ -325,10 +325,16 @@
 #define __NR_move_pages		317
 #define __NR_getcpu		318
 #define __NR_epoll_pwait	319
+#define __NR_async_register	320
+#define __NR_async_exec		321
+#define __NR_async_wait		322
+#define __NR_async_unregister	323
+#define __NR_umem_add		324
+#define __NR_async_thread	325
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 320
+#define NR_syscalls 326
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR