This patch wire the timerfd system call to the i386 architecture.


Signed-off-by: Davide Libenzi <davidel@xmailserver.org>


- Davide



Index: linux-2.6.20.ep2/arch/i386/kernel/syscall_table.S
===================================================================
--- linux-2.6.20.ep2.orig/arch/i386/kernel/syscall_table.S      2007-03-11 
14:28:44.000000000 -0700
+++ linux-2.6.20.ep2/arch/i386/kernel/syscall_table.S   2007-03-11 
14:33:53.000000000 -0700
@@ -320,3 +320,4 @@
        .long sys_getcpu
        .long sys_epoll_pwait
        .long sys_signalfd              /* 320 */
+       .long sys_timerfd
Index: linux-2.6.20.ep2/include/asm-i386/unistd.h
===================================================================
--- linux-2.6.20.ep2.orig/include/asm-i386/unistd.h     2007-03-11 
14:28:44.000000000 -0700
+++ linux-2.6.20.ep2/include/asm-i386/unistd.h  2007-03-11 14:33:53.000000000 
-0700
@@ -326,10 +326,11 @@
 #define __NR_getcpu            318
 #define __NR_epoll_pwait       319
 #define __NR_signalfd          320
+#define __NR_timerfd           321
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 321
+#define NR_syscalls 322
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR

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

Reply via email to