summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-05-28 15:02:53 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-06-06 00:15:17 +0100
commit7155262e180d3b50fdea0f58f3329d9ae81ef80b (patch)
tree924e2dc1c98edbba25e1541d2896d9b13e41e550
parentfef6d6a73a3985e4fdb5ab1910909c0c73539829 (diff)
downloadop-kernel-dev-7155262e180d3b50fdea0f58f3329d9ae81ef80b.zip
op-kernel-dev-7155262e180d3b50fdea0f58f3329d9ae81ef80b.tar.gz
[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>
-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 b53a920..8efb23a 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
OpenPOWER on IntegriCloud