Skip to contentSkip to conversation

wire up missing syscalls on x86-64

PATCH Dave Jones 2 participants 3 messages Aug 1, 2006

lore
Share & tools
lore

Dave Jones

author
#0 lore raw
arch/x86_64/ia32/ia32entry.S +2 -2
index 5a92fed..07399fe 100644
@@ -687,8 +687,8 @@ #endif
 	.quad sys_readlinkat		/* 305 */
 	.quad sys_fchmodat
 	.quad sys_faccessat
-	.quad quiet_ni_syscall		/* pselect6 for now */
-	.quad quiet_ni_syscall		/* ppoll for now */
+	.quad compat_sys_pselect6
+	.quad compat_sys_ppoll
 	.quad sys_unshare		/* 310 */
 	.quad compat_sys_set_robust_list
 	.quad compat_sys_get_robust_list
include/asm-x86_64/unistd.h +2 -2
index feb77cb..0a08bbf 100644
@@ -600,9 +600,9 @@ __SYSCALL(__NR_fchmodat, sys_fchmodat)
 #define __NR_faccessat		269
 __SYSCALL(__NR_faccessat, sys_faccessat)
 #define __NR_pselect6		270
-__SYSCALL(__NR_pselect6, sys_ni_syscall)	/* for now */
+__SYSCALL(__NR_pselect6, sys_pselect6)
 #define __NR_ppoll		271
-__SYSCALL(__NR_ppoll,	sys_ni_syscall)		/* for now */
+__SYSCALL(__NR_ppoll,	sys_ppoll)
 #define __NR_unshare		272
 __SYSCALL(__NR_unshare,	sys_unshare)
 #define __NR_set_robust_list	273
Signature · 1 line
http://www.codemonkey.org.uk
#1 lore raw
Quoted 1 line · Dave Jones

No, the reason they're not wired up yet is that some infrastructure for them is still missing. It's currently queued up for .19

-Andi

author
#2 lore raw
Quoted 5 lines · Andi Kleen
Quoted 1 line · Dave Jones

No, the reason they're not wired up yet is that some infrastructure for them is still missing. It's currently queued up for .19

Ah, I missed the fact that we're also carrying another diff in the Fedora kernel for this. Ok, as long as you're aware of it, all is good.

Dave

Signature · 1 line
http://www.codemonkey.org.uk