From: Thiemo Seufer Date: Sun, 28 May 2006 14:02:53 +0000 (+0100) Subject: [MIPS] open() forces O_LARGEFILE for o32 on 64bit kernels X-Git-Tag: v2.6.17-rc6~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7155262e180d3b50fdea0f58f3329d9ae81ef80b;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S index b53a9207f53..8efb23a8413 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