summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-05-28 16:02:53 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-06-06 01:15:17 +0200
commit7155262e180d3b50fdea0f58f3329d9ae81ef80b (patch)
tree924e2dc1c98edbba25e1541d2896d9b13e41e550 /arch
parent[MIPS] Au1xx0: fix prom_getenv() to handle YAMON style environment (diff)
downloadlinux-7155262e180d3b50fdea0f58f3329d9ae81ef80b.tar.xz
linux-7155262e180d3b50fdea0f58f3329d9ae81ef80b.zip
[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')
-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