LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [patch] x86_64: use signalfd and timerfd compat syscalls
@ 2007-05-11 23:04 Heiko Carstens
  2007-05-12 15:18 ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Heiko Carstens @ 2007-05-11 23:04 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Davide Libenzi, Andi Kleen, linux-kernel

From: Heiko Carstens <heiko.carstens@de.ibm.com>

Looks like these two are wired up in a wrong way.

Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
 arch/x86_64/ia32/ia32entry.S |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6/arch/x86_64/ia32/ia32entry.S
===================================================================
--- linux-2.6.orig/arch/x86_64/ia32/ia32entry.S
+++ linux-2.6/arch/x86_64/ia32/ia32entry.S
@@ -716,7 +716,7 @@ ia32_sys_call_table:
 	.quad sys_getcpu
 	.quad sys_epoll_pwait
 	.quad compat_sys_utimensat	/* 320 */
-	.quad sys_signalfd
-	.quad sys_timerfd
+	.quad compat_sys_signalfd
+	.quad compat_sys_timerfd
 	.quad sys_eventfd
-ia32_syscall_end:		
+ia32_syscall_end:

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

* Re: [patch] x86_64: use signalfd and timerfd compat syscalls
  2007-05-11 23:04 [patch] x86_64: use signalfd and timerfd compat syscalls Heiko Carstens
@ 2007-05-12 15:18 ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2007-05-12 15:18 UTC (permalink / raw)
  To: Heiko Carstens; +Cc: Andrew Morton, Davide Libenzi, linux-kernel

On Saturday 12 May 2007 01:04:06 Heiko Carstens wrote:
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
> 
> Looks like these two are wired up in a wrong way.

Thanks for spotting. I think it would have been ok for signalfd
because sigset_t should be the same size, but it's clearly broken
for timerfd

-Andi

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

end of thread, other threads:[~2007-05-12 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-11 23:04 [patch] x86_64: use signalfd and timerfd compat syscalls Heiko Carstens
2007-05-12 15:18 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).