2006-01-24 01:18:25

by Chuck Ebbert

[permalink] [raw]
Subject: [patch 1/9] ia32 syscalls: prepare UML for new table

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

Shared ia32 syscall table 1/9:

Make uml compatible with future i386 syscall renames.

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
@@ -11,6 +11,15 @@

#define sys_stime um_stime
#define sys_time um_time
+
+/*
+ * old_mmap and old_select will be 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"
--
Chuck