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

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


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

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

---
arch/x86_64/ia32/ia32entry.S | 1 +
include/asm-x86_64/unistd.h | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)

Index: linux-2.6/arch/x86_64/ia32/ia32entry.S
===================================================================
--- linux-2.6.orig/arch/x86_64/ia32/ia32entry.S
+++ linux-2.6/arch/x86_64/ia32/ia32entry.S
@@ -722,4 +722,5 @@ ia32_sys_call_table:
.quad sys_plsignal /* 320 */
.quad sys_pltimer
.quad sys_plfutex
+ .quad sys_plaio
ia32_syscall_end:
Index: linux-2.6/include/asm-x86_64/unistd.h
===================================================================
--- linux-2.6.orig/include/asm-x86_64/unistd.h
+++ linux-2.6/include/asm-x86_64/unistd.h
@@ -625,8 +625,10 @@ __SYSCALL(__NR_plsignal, sys_plsignal)
__SYSCALL(__NR_pltimer, sys_pltimer)
#define __NR_plfutex 282
__SYSCALL(__NR_plfutex, sys_plfutex)
+#define __NR_plaio 283
+__SYSCALL(__NR_plaio, sys_plaio)

-#define __NR_syscall_max __NR_plfutex
+#define __NR_syscall_max __NR_plaio

#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR

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