From: Arnaud Patard <apatard@mandriva.com>
To: linux-mips@linux-mips.org
Subject: [PATCH] Fix ppoll on o32 with 64bit kernel
Date: Tue, 20 Oct 2009 10:27:47 +0200 [thread overview]
Message-ID: <m363aa8o70.fsf@anduin.mandriva.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 165 bytes --]
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>
---
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ppoll_fix.patch --]
[-- Type: text/x-patch, Size: 624 bytes --]
---
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 */
next reply other threads:[~2009-10-20 8:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-20 8:27 Arnaud Patard [this message]
2009-11-02 6:50 ` [PATCH] Fix ppoll on o32 with 64bit kernel Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m363aa8o70.fsf@anduin.mandriva.com \
--to=apatard@mandriva.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.