[patch 1/5] new fds fixes for 2.6.21-rc5.mm4 - fix a build error on x86_64 when the new CONFIG_* are not set ...

From: Davide Libenzi
Date: Tue Apr 03 2007 - 16:22:38 EST


Fixes a build error on x86_64 that happens when the new CONFIG_* options
for the new fds are not set



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


- Davide



Index: linux-2.6.21-rc5.mm4/kernel/sys_ni.c
===================================================================
--- linux-2.6.21-rc5.mm4.orig/kernel/sys_ni.c 2007-04-03 13:17:25.000000000 -0700
+++ linux-2.6.21-rc5.mm4/kernel/sys_ni.c 2007-04-03 13:17:30.000000000 -0700
@@ -146,3 +146,9 @@
cond_syscall(sys_bdflush);
cond_syscall(sys_ioprio_set);
cond_syscall(sys_ioprio_get);
+
+/* New file descriptors */
+cond_syscall(sys_signalfd);
+cond_syscall(sys_timerfd);
+cond_syscall(sys_eventfd);
+

-
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/