diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-05-18 00:46:13 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-06-06 19:34:32 +0100 |
commit | 8676d2e0244cbef294c7d9ad6e50048f9dfba9e0 (patch) | |
tree | 83cfb1392fc17f58494d9ef9f46d0e4f1f7d45ad /arch/mips/kernel/scall64-o32.S | |
parent | fbd5604d56c4543457aeae6dda69c9b8a1405474 (diff) | |
download | talos-obmc-linux-8676d2e0244cbef294c7d9ad6e50048f9dfba9e0.tar.gz talos-obmc-linux-8676d2e0244cbef294c7d9ad6e50048f9dfba9e0.zip |
[MIPS] Fix some system calls with long long arguments
* O32 fadvise64() pass long long arguments by register pairs. Add
sys32 version for 64 bit kernel.
* N32 readahead() can pass a long long argument by one register. No
need to use sys32_readahead.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/scall64-o32.S')
-rw-r--r-- | arch/mips/kernel/scall64-o32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S index 7e74b412a782..2aa99426ac1c 100644 --- a/arch/mips/kernel/scall64-o32.S +++ b/arch/mips/kernel/scall64-o32.S @@ -459,7 +459,7 @@ sys_call_table: PTR sys_remap_file_pages PTR sys_set_tid_address PTR sys_restart_syscall - PTR sys_fadvise64_64 + PTR sys32_fadvise64_64 PTR compat_sys_statfs64 /* 4255 */ PTR compat_sys_fstatfs64 PTR compat_sys_timer_create |