summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/scall64-o32.S
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-05-17 17:46:13 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-06-06 20:34:32 +0200
commit8676d2e0244cbef294c7d9ad6e50048f9dfba9e0 (patch)
tree83cfb1392fc17f58494d9ef9f46d0e4f1f7d45ad /arch/mips/kernel/scall64-o32.S
parent[MIPS] Make dma_map_sg handle sg elements which are longer than one page (diff)
downloadlinux-8676d2e0244cbef294c7d9ad6e50048f9dfba9e0.tar.xz
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.S2
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