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

From: Chuck Ebbert
Date: Mon Jan 23 2006 - 20:16:31 EST


References: <200601231938_MC3-1-B687-7C42@xxxxxxxxxxxxxx>
In-Reply-To: <200601231938_MC3-1-B687-7C42@xxxxxxxxxxxxxx>

Shared ia32 syscall table 5/9:

Switch uml to the new shared syscall table.

Signed-Off-By: Chuck Ebbert <76306.1226@xxxxxxxxxxxxxx>

--- 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/