[patch 21/22] pollfs: x86, wire up the plaio system call

From: Davi Arnaut
Date: Wed May 02 2007 - 01:40:11 EST


Make the plaio syscall available to user-space on x86.

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

---
arch/i386/kernel/syscall_table.S | 1 +
include/asm-i386/unistd.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)

Index: linux-2.6/include/asm-i386/unistd.h
===================================================================
--- linux-2.6.orig/include/asm-i386/unistd.h
+++ linux-2.6/include/asm-i386/unistd.h
@@ -328,10 +328,11 @@
#define __NR_plsignal 320
#define __NR_pltimer 321
#define __NR_plfutex 322
+#define __NR_plaio 323

#ifdef __KERNEL__

-#define NR_syscalls 323
+#define NR_syscalls 324

#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
Index: linux-2.6/arch/i386/kernel/syscall_table.S
===================================================================
--- linux-2.6.orig/arch/i386/kernel/syscall_table.S
+++ linux-2.6/arch/i386/kernel/syscall_table.S
@@ -322,3 +322,4 @@ ENTRY(sys_call_table)
.long sys_plsignal /* 320 */
.long sys_pltimer
.long sys_plfutex
+ .long sys_plaio

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