linux-mips
[Top] [All Lists]

[PATCH] Fix ppoll on o32 with 64bit kernel

To: linux-mips@linux-mips.org
Subject: [PATCH] Fix ppoll on o32 with 64bit kernel
From: Arnaud Patard <apatard@mandriva.com>
Date: Tue, 20 Oct 2009 10:27:47 +0200
Organization: Mandriva
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
sys_ppoll syscall needs to use a compat handler on 64bit kernels with
o32 user-space. This patch wires it.

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
---
---
 arch/mips/kernel/scall64-o32.S |    2  1 +     1 -     0 !
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.24/arch/mips/kernel/scall64-o32.S
===================================================================
--- linux-2.6.24.orig/arch/mips/kernel/scall64-o32.S    2008-07-07 
17:49:07.000000000 +0200
+++ linux-2.6.24/arch/mips/kernel/scall64-o32.S 2008-07-07 19:27:42.000000000 
+0200
@@ -507,7 +507,7 @@ sys_call_table:
        PTR     sys_fchmodat
        PTR     sys_faccessat                   /* 4300 */
        PTR     compat_sys_pselect6
-       PTR     sys_ppoll
+       PTR     compat_sys_ppoll
        PTR     sys_unshare
        PTR     sys_splice
        PTR     sys32_sync_file_range           /* 4305 */
<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Fix ppoll on o32 with 64bit kernel, Arnaud Patard <=