aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/scall64-o32.S
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-05-18 00:46:13 +0900
committerRalf Baechle <ralf@linux-mips.org>2007-06-06 19:34:32 +0100
commit8676d2e0244cbef294c7d9ad6e50048f9dfba9e0 (patch)
tree83cfb1392fc17f58494d9ef9f46d0e4f1f7d45ad /arch/mips/kernel/scall64-o32.S
parentfbd5604d56c4543457aeae6dda69c9b8a1405474 (diff)
downloadkernel_samsung_smdk4412-8676d2e0244cbef294c7d9ad6e50048f9dfba9e0.zip
kernel_samsung_smdk4412-8676d2e0244cbef294c7d9ad6e50048f9dfba9e0.tar.gz
kernel_samsung_smdk4412-8676d2e0244cbef294c7d9ad6e50048f9dfba9e0.tar.bz2
[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 7e74b41..2aa9942 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