Skip to contentSkip to conversation

x86_64: use signalfd and timerfd compat syscalls

PATCH In review Heiko Carstens 2 participants 2 messages May 11, 2007 – May 12, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86_64: use signalfd and timerfd compat syscalls

From: Heiko Carstens <[email protected]>

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

Cc Davide Libenzi <[email protected]>
Cc Andi Kleen <[email protected]>
---
 arch/x86_64/ia32/ia32entry.S |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/x86_64/ia32/ia32entry.S +3 -3
Index: 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:
#1 lore raw
Quoted 3 lines · On Saturday 12 May 2007 01:04:06 Heiko Carstens wrote:

From: Heiko Carstens <[email protected]>

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