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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



References: <200601231938_MC3-1-B687-7C42@compuserve.com>
In-Reply-To: <200601231938_MC3-1-B687-7C42@compuserve.com>

Shared ia32 syscall table 5/9:

Switch uml to the new shared syscall table.

Signed-Off-By: Chuck Ebbert <76306.1226@compuserve.com>

--- 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux