[patch 15/22] pollfs: export the plfutex system call

From: Davi Arnaut
Date: Wed May 02 2007 - 01:37:42 EST


Export the new plfutex syscall prototype. While there, make it "conditional".

Signed-off-by: Davi E. M. Arnaut <davi@xxxxxxxxxxxxx>

---
include/linux/syscalls.h | 2 ++
kernel/sys_ni.c | 1 +
2 files changed, 3 insertions(+)

Index: linux-2.6/include/linux/syscalls.h
===================================================================
--- linux-2.6.orig/include/linux/syscalls.h
+++ linux-2.6/include/linux/syscalls.h
@@ -609,4 +609,6 @@ asmlinkage long sys_plsignal(const sigse

asmlinkage long sys_pltimer(void);

+asmlinkage long sys_plfutex(void);
+
#endif
Index: linux-2.6/kernel/sys_ni.c
===================================================================
--- linux-2.6.orig/kernel/sys_ni.c
+++ linux-2.6/kernel/sys_ni.c
@@ -114,6 +114,7 @@ cond_syscall(compat_sys_ipc);
cond_syscall(compat_sys_sysctl);
cond_syscall(sys_plsignal);
cond_syscall(sys_pltimer);
+cond_syscall(sys_plfutex);

/* arch-specific weak syscall entries */
cond_syscall(sys_pciconfig_read);

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