[patch 20/22] pollfs: export the plaio system call

From: Davi Arnaut
Date: Wed May 02 2007 - 01:36:07 EST


Export the new plaio 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
@@ -611,4 +611,6 @@ asmlinkage long sys_pltimer(void);

asmlinkage long sys_plfutex(void);

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

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