2006-01-24 01:17:51

by Chuck Ebbert

[permalink] [raw]
Subject: [patch 5/9] ia32 syscalls: switch UML to shared table

References: <[email protected]>
In-Reply-To: <[email protected]>

Shared ia32 syscall table 5/9:

Switch uml to the new shared syscall table.

Signed-Off-By: Chuck Ebbert <[email protected]>

--- 2.6.16-rc1-mm2.orig/arch/um/sys-i386/sys_call_table.S
+++ 2.6.16-rc1-mm2/arch/um/sys-i386/sys_call_table.S
@@ -13,13 +13,18 @@
#define sys_time um_time

/*
- * old_mmap and old_select will be renamed
+ * old_mmap and old_select were renamed
* to sys_old_mmap and sys_old_select.
- * Be compatible with both old and new names.
*/
-#define old_mmap old_mmap_i386
#define sys_old_mmap old_mmap_i386
-
#define sys_old_select old_select

-#include "../../i386/kernel/syscall_table.S"
+#define syscall_ptr_type .long
+#define SYSCALL(func) RAWSYSCALL(sys_ ## func)
+#define SYS32CALL SYSCALL
+#define STUB32CALL SYSCALL
+#define COMPATCALL SYSCALL
+
+ENTRY(sys_call_table)
+
+#include "../../i386/kernel/syscall_tbl.S"
--
Chuck