lkml.org 
[lkml]   [2006]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Fixed the number of arguments about mremap
Hi,

This patch fixes the number of arguments about mremap.
mremap syscall takes 5 arguments.

MIPS fixed by Ralf Baechle.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X 2.6.17/Documentation/dontdiff 2.6.17-orig/arch/mips/kernel/scall32-o32.S 2.6.17/arch/mips/kernel/scall32-o32.S
--- 2.6.17-orig/arch/mips/kernel/scall32-o32.S 2006-06-23 10:37:08.983801000 +0900
+++ 2.6.17/arch/mips/kernel/scall32-o32.S 2006-06-23 10:38:43.525709500 +0900
@@ -497,7 +497,7 @@ einval: li v0, -EINVAL
sys sys_sched_get_priority_min 1
sys sys_sched_rr_get_interval 2 /* 4165 */
sys sys_nanosleep, 2
- sys sys_mremap, 4
+ sys sys_mremap, 5
sys sys_accept 3
sys sys_bind 3
sys sys_connect 3 /* 4170 */
diff -pruN -X 2.6.17/Documentation/dontdiff 2.6.17-orig/arch/xtensa/kernel/syscalls.h 2.6.17/arch/xtensa/kernel/syscalls.h
--- 2.6.17-orig/arch/xtensa/kernel/syscalls.h 2006-06-23 10:37:09.603839750 +0900
+++ 2.6.17/arch/xtensa/kernel/syscalls.h 2006-06-23 10:40:31.772474500 +0900
@@ -191,7 +191,7 @@ SYSCALL(sys_sched_get_priority_max,1)
SYSCALL(sys_sched_get_priority_min,1)
SYSCALL(sys_sched_rr_get_interval,2) /* 165 */
SYSCALL(sys_nanosleep,2)
-SYSCALL(sys_mremap,4)
+SYSCALL(sys_mremap,5)
SYSCALL(sys_accept, 3)
SYSCALL(sys_bind, 3)
SYSCALL(sys_connect, 3) /* 170 */
-
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/
\
 
 \ /
  Last update: 2006-06-23 03:55    [W:0.046 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site