[MIPS] open() forces O_LARGEFILE for o32 on 64bit kernels
authorThiemo Seufer <ths@networkno.de>
Sun, 28 May 2006 14:02:53 +0000 (15:02 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jun 2006 23:15:17 +0000 (00:15 +0100)
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>
arch/mips/kernel/scall64-o32.S

index b53a9207f530a9db07d58c19b556b9d1cc379594..8efb23a841317a03a385f7ccb2c8d9b47b250475 100644 (file)
@@ -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