[patch 12/13] signalfd/timerfd/asyncfd v5 - asyncfd wire up x86_64 arch ...

From: Davide Libenzi
Date: Wed Mar 14 2007 - 18:26:40 EST


This patch wire the asyncfd system call to the x86_64 architecture.



Signed-off-by: Davide Libenzi <davidel@xxxxxxxxxxxxxxx>


- Davide



Index: linux-2.6.20.ep2/arch/x86_64/ia32/ia32entry.S
===================================================================
--- linux-2.6.20.ep2.orig/arch/x86_64/ia32/ia32entry.S 2007-03-14 09:38:22.000000000 -0700
+++ linux-2.6.20.ep2/arch/x86_64/ia32/ia32entry.S 2007-03-14 09:38:31.000000000 -0700
@@ -721,4 +721,5 @@
.quad sys_epoll_pwait
.quad sys_signalfd /* 320 */
.quad sys_timerfd
+ .quad sys_asyncfd
ia32_syscall_end:
Index: linux-2.6.20.ep2/include/asm-x86_64/unistd.h
===================================================================
--- linux-2.6.20.ep2.orig/include/asm-x86_64/unistd.h 2007-03-14 09:38:41.000000000 -0700
+++ linux-2.6.20.ep2/include/asm-x86_64/unistd.h 2007-03-14 09:39:05.000000000 -0700
@@ -623,8 +623,10 @@
__SYSCALL(__NR_signalfd, sys_signalfd)
#define __NR_timerfd 281
__SYSCALL(__NR_timerfd, sys_timerfd)
+#define __NR_asyncfd 282
+__SYSCALL(__NR_asyncfd, sys_asyncfd)

-#define __NR_syscall_max __NR_timerfd
+#define __NR_syscall_max __NR_asyncfd

#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/