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-12 11:28:05.000000000 -0700
+++ linux-2.6.20.ep2/arch/i386/kernel/syscall_table.S 2007-03-12 11:47:42.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-12 11:28:05.000000000 -0700
+++ linux-2.6.20.ep2/include/asm-i386/unistd.h 2007-03-12 11:47:42.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
-