All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Use compat_sys_pselect6
@ 2007-01-10 12:30 Joseph S. Myers
  2007-01-11 17:11 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph S. Myers @ 2007-01-10 12:30 UTC (permalink / raw)
  To: linux-mips

The N32 and O32 pselect6 syscalls need to use compat_sys_pselect6 to
translate arguments from 32-bit to 64-bit layout.

Signed-off-by: Joseph Myers <joseph@codesourcery.com>
---
diff -rupN linux-2.6.19.orig/arch/mips/kernel/scall64-n32.S linux-2.6.19/arch/mips/kernel/scall64-n32.S
--- linux-2.6.19.orig/arch/mips/kernel/scall64-n32.S	2006-11-29 21:57:37.000000000 +0000
+++ linux-2.6.19/arch/mips/kernel/scall64-n32.S	2007-01-10 00:17:13.000000000 +0000
@@ -384,7 +384,7 @@ EXPORT(sysn32_call_table)
 	PTR	sys_readlinkat
 	PTR	sys_fchmodat
 	PTR	sys_faccessat
-	PTR	sys_pselect6
+	PTR	compat_sys_pselect6
 	PTR	sys_ppoll			/* 6265 */
 	PTR	sys_unshare
 	PTR	sys_splice
diff -rupN linux-2.6.19.orig/arch/mips/kernel/scall64-o32.S linux-2.6.19/arch/mips/kernel/scall64-o32.S
--- linux-2.6.19.orig/arch/mips/kernel/scall64-o32.S	2006-11-29 21:57:37.000000000 +0000
+++ linux-2.6.19/arch/mips/kernel/scall64-o32.S	2007-01-10 00:16:26.000000000 +0000
@@ -506,7 +506,7 @@ sys_call_table:
 	PTR	sys_readlinkat
 	PTR	sys_fchmodat
 	PTR	sys_faccessat			/* 4300 */
-	PTR	sys_pselect6
+	PTR	compat_sys_pselect6
 	PTR	sys_ppoll
 	PTR	sys_unshare
 	PTR	sys_splice

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Use compat_sys_pselect6
  2007-01-10 12:30 [PATCH] Use compat_sys_pselect6 Joseph S. Myers
@ 2007-01-11 17:11 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-01-11 17:11 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: linux-mips

On Wed, Jan 10, 2007 at 12:30:50PM +0000, Joseph S. Myers wrote:

> The N32 and O32 pselect6 syscalls need to use compat_sys_pselect6 to
> translate arguments from 32-bit to 64-bit layout.

Thanks, applied.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-11 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-10 12:30 [PATCH] Use compat_sys_pselect6 Joseph S. Myers
2007-01-11 17:11 ` Ralf Baechle

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.