summaryrefslogtreecommitdiff
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-05-28 18:02:53 +0400
committerRalf Baechle <ralf@linux-mips.org>2006-06-06 03:15:17 +0400
commit7155262e180d3b50fdea0f58f3329d9ae81ef80b (patch)
tree924e2dc1c98edbba25e1541d2896d9b13e41e550 /arch/mips/kernel
parentfef6d6a73a3985e4fdb5ab1910909c0c73539829 (diff)
downloadlinux-7155262e180d3b50fdea0f58f3329d9ae81ef80b.tar.xz
[MIPS] open() forces O_LARGEFILE for o32 on 64bit kernels
open() always sets the O_LARGEFILE flag for the o32 ABI implementation of a 64bit kernel. The appended patch fixes it. Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-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 b53a9207f530..8efb23a84131 100644
--- a/arch/mips/kernel/scall64-o32.S
+++ b/arch/mips/kernel/scall64-o32.S
@@ -209,7 +209,7 @@ sys_call_table:
PTR sys_fork
PTR sys_read
PTR sys_write
- PTR sys_open /* 4005 */
+ PTR compat_sys_open /* 4005 */
PTR sys_close
PTR sys_waitpid
PTR sys_creat