All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: Use compat version for n32 sys_ppoll.
@ 2010-05-11  0:11 David Daney
  2010-05-11  0:31 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: David Daney @ 2010-05-11  0:11 UTC (permalink / raw)
  To: linux-mips, ralf; +Cc: Chandrakala Chavva, David Daney

From: Chandrakala Chavva <cchavva@caviumnetworks.com>

The sys_ppoll() takes struct 'struct timespec'. This is different
for n32 and n64 abi. Use the compat version to do the proper conversions.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
 arch/mips/kernel/scall64-n32.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index 6ebc079..10f3343 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -385,7 +385,7 @@ EXPORT(sysn32_call_table)
 	PTR	sys_fchmodat
 	PTR	sys_faccessat
 	PTR	compat_sys_pselect6
-	PTR	sys_ppoll			/* 6265 */
+	PTR	compat_sys_ppoll		/* 6265 */
 	PTR	sys_unshare
 	PTR	sys_splice
 	PTR	sys_sync_file_range
-- 
1.6.6.1

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

* Re: [PATCH] MIPS: Use compat version for n32 sys_ppoll.
  2010-05-11  0:11 [PATCH] MIPS: Use compat version for n32 sys_ppoll David Daney
@ 2010-05-11  0:31 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2010-05-11  0:31 UTC (permalink / raw)
  To: David Daney; +Cc: linux-mips, Chandrakala Chavva

On Mon, May 10, 2010 at 05:11:54PM -0700, David Daney wrote:

> From: Chandrakala Chavva <cchavva@caviumnetworks.com>
> 
> The sys_ppoll() takes struct 'struct timespec'. This is different
> for n32 and n64 abi. Use the compat version to do the proper conversions.
> 
> Signed-off-by: David Daney <ddaney@caviumnetworks.com>

Sigh, this sort of fix has a long tradition.  I'm glad we're maintaining
it ;-)  Patch applied.

Thanks,

  Ralf

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

end of thread, other threads:[~2010-05-11  0:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11  0:11 [PATCH] MIPS: Use compat version for n32 sys_ppoll David Daney
2010-05-11  0:31 ` 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.