Skip to contentSkip to conversation

ia32 syscalls: switch UML to shared table

PATCH In review Chuck Ebbert 1 participant 1 message Jan 24, 2006 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

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.

arch/um/sys-i386/sys_call_table.S +10 -5
@@ -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"
Signature · 1 line
Chuck