[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] x86_64: Add ppoll/pselect syscalls (from upstream Linux)



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1199916752 0
# Node ID 353802ec1caf399143e48713a04cedd37a106347
# Parent  748cd890ea7f56752311e519e80eece9d850c01a
x86_64: Add ppoll/pselect syscalls (from upstream Linux)

Needed TIF_RESTORE_SIGMASK first

Signed-off-by: Andi Kleen <ak@xxxxxxx>
---
 arch/x86_64/ia32/ia32entry.S |    4 ++--
 include/asm-x86_64/unistd.h  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff -r 748cd890ea7f -r 353802ec1caf arch/x86_64/ia32/ia32entry.S
--- a/arch/x86_64/ia32/ia32entry.S      Wed Jan 09 22:12:04 2008 +0000
+++ b/arch/x86_64/ia32/ia32entry.S      Wed Jan 09 22:12:32 2008 +0000
@@ -703,8 +703,8 @@ ia32_sys_call_table:
        .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
diff -r 748cd890ea7f -r 353802ec1caf include/asm-x86_64/unistd.h
--- a/include/asm-x86_64/unistd.h       Wed Jan 09 22:12:04 2008 +0000
+++ b/include/asm-x86_64/unistd.h       Wed Jan 09 22:12:32 2008 +0000
@@ -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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.