| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] open() forces O_LARGEFILE for o32 on 64bit kernels |
| From: | Thiemo Seufer <ths@networkno.de> |
| Date: | Sun, 28 May 2006 15:02:53 +0100 |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.11+cvs20060403 |
Hello All,
open() always sets the O_LARGEFILE flag for the o32 ABI implementation
of a 64bit kernel. The appended patch fixes it.
Thiemo
--- a/arch/mips/kernel/scall64-o32.S 2006-04-24 12:02:26.000000000 +0100
+++ b/arch/mips/kernel/scall64-o32.S 2006-05-28 14:56:23.000000000 +0100
@@ -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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Commit 78eef01b0fae087c5fadbd85dd4fe2918c3a015f (on_each_cpu(): disable local interrupts) Breaks SGI IP32, Ralf Baechle |
|---|---|
| Next by Date: | oprofile for mips 24k, Mayuresh Chitale |
| Previous by Thread: | Commit 78eef01b0fae087c5fadbd85dd4fe2918c3a015f (on_each_cpu(): disable local interrupts) Breaks SGI IP32, Kumba |
| Next by Thread: | oprofile for mips 24k, Mayuresh Chitale |
| Indexes: | [Date] [Thread] [Top] [All Lists] |