Skip to contentSkip to conversation

Fix ppoll on o32 with 64bit kernel

PATCH Applied Arnaud Patard 2 participants 2 messages Oct 20, 2009 – Nov 2, 2009 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix ppoll on o32 with 64bit kernel

sys_ppoll syscall needs to use a compat handler on 64bit kernels with o32 user-space. This patch wires it.

---

---
arch/mips/kernel/scall64-o32.S | 2 1 + 1 - 0 !

 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/kernel/scall64-o32.S +1 -1
Index: linux-2.6.24/arch/mips/kernel/scall64-o32.S
===================================================================
@@ -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 */
Applied
#1 lore raw
Quoted 4 lines · Arnaud Patard

sys_ppoll syscall needs to use a compat handler on 64bit kernels with o32 user-space. This patch wires it.

Cute. This one applies to all kernel from 2.6.16 up.

Applied, thanks!

Ralf