Skip to contentSkip to conversation

ia32 syscalls: rename some i386 syscalls

PATCH In review Chuck Ebbert 1 participant 1 message Jan 24, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 2/9 ia32 syscalls: rename some i386 syscalls

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

Shared ia32 syscall table 2/9:

Rename some i386 syscalls so they match up better with x86_64 32-bit syscalls.

---

 arch/i386/kernel/sys_i386.c      |    4 ++--
 arch/i386/kernel/syscall_table.S |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/i386/kernel/sys_i386.c +2 -2
@@ -89,7 +89,7 @@ struct mmap_arg_struct {
 	unsigned long offset;
 };
 
-asmlinkage int old_mmap(struct mmap_arg_struct __user *arg)
+asmlinkage int sys_old_mmap(struct mmap_arg_struct __user *arg)
 {
 	struct mmap_arg_struct a;
 	int err = -EFAULT;
@@ -113,7 +113,7 @@ struct sel_arg_struct {
 	struct timeval __user *tvp;
 };
 
-asmlinkage int old_select(struct sel_arg_struct __user *arg)
+asmlinkage int sys_old_select(struct sel_arg_struct __user *arg)
 {
 	struct sel_arg_struct a;
 
arch/i386/kernel/syscall_table.S +2 -2
@@ -81,7 +81,7 @@ ENTRY(sys_call_table)
 	.long sys_settimeofday
 	.long sys_getgroups16	/* 80 */
 	.long sys_setgroups16
-	.long old_select
+	.long sys_old_select
 	.long sys_symlink
 	.long sys_lstat
 	.long sys_readlink	/* 85 */
@@ -89,7 +89,7 @@ ENTRY(sys_call_table)
 	.long sys_swapon
 	.long sys_reboot
 	.long old_readdir
-	.long old_mmap		/* 90 */
+	.long sys_old_mmap	/* 90 */
 	.long sys_munmap
 	.long sys_truncate
 	.long sys_ftruncate
Signature · 1 line
Chuck