[patch 10/22] pollfs: export the pltimer system call

From: Davi Arnaut
Date: Wed May 02 2007 - 01:38:58 EST


Export the new pltimer 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
@@ -607,4 +607,6 @@ int kernel_execve(const char *filename,

asmlinkage long sys_plsignal(const sigset_t __user * set);

+asmlinkage long sys_pltimer(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
@@ -113,6 +113,7 @@ cond_syscall(sys_vm86);
cond_syscall(compat_sys_ipc);
cond_syscall(compat_sys_sysctl);
cond_syscall(sys_plsignal);
+cond_syscall(sys_pltimer);

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