[PATCH] Fixed the number of arguments about mremap

From: Yoichi Yuasa
Date: Thu Jun 22 2006 - 21:51:43 EST


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@xxxxxxxxxxxxxx>
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx>

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