diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-07-11 23:56:29 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-07-11 23:56:29 +0000 |
commit | a2b759bd20319fc590e3f13cc3f24ad21d02b025 (patch) | |
tree | 0899a5d5d57deb5c3b7175efd0f7f524cf67400c /arch | |
parent | 03761a8bbeab164c053948ea8e8c48e54ad61e04 (diff) |
Due to the MIPS calling sequence pread(2) / pwrite(2) effectivly are
getting called with 6 arguments from userland.
This also means that _every_ damn fucking piece of software that
attempts to do syscalls to these functions in the absence of glibc is
borken, pciutils just being one example.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/syscalls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/syscalls.h b/arch/mips/kernel/syscalls.h index 5d1be79d7..07a49ee8b 100644 --- a/arch/mips/kernel/syscalls.h +++ b/arch/mips/kernel/syscalls.h @@ -1,4 +1,4 @@ -/* $Id: syscalls.h,v 1.14 1998/08/25 09:14:41 ralf Exp $ +/* $Id: syscalls.h,v 1.15 1998/09/19 19:16:17 ralf Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -215,8 +215,8 @@ SYS(sys_rt_sigpending, 2) SYS(sys_rt_sigtimedwait, 4) SYS(sys_rt_sigqueueinfo, 3) SYS(sys_rt_sigsuspend, 2) -SYS(sys_pread, 4) /* 4200 */ -SYS(sys_pwrite, 4) +SYS(sys_pread, 6) /* 4200 */ +SYS(sys_pwrite, 6) SYS(sys_chown, 3) SYS(sys_getcwd, 2) SYS(sys_capget, 2) |