[patch 6/8] fdmap v2 - wire sys_nonseqfd to x86-64

From: Davide Libenzi
Date: Wed Jun 06 2007 - 18:32:55 EST


Wire the new sys_nonseqfd system call to the x86-64 architecture.


Signed-off-by: Davide Libenzi <davidel@xxxxxxxxxxxxxxx>


- Davide


Index: linux-2.6.mod/arch/x86_64/ia32/ia32entry.S
===================================================================
--- linux-2.6.mod.orig/arch/x86_64/ia32/ia32entry.S 2007-06-06 12:38:27.000000000 -0700
+++ linux-2.6.mod/arch/x86_64/ia32/ia32entry.S 2007-06-06 12:48:39.000000000 -0700
@@ -719,4 +719,5 @@
.quad compat_sys_signalfd
.quad compat_sys_timerfd
.quad sys_eventfd
+ .quad sys_nonseqfd
ia32_syscall_end:
Index: linux-2.6.mod/include/asm-x86_64/unistd.h
===================================================================
--- linux-2.6.mod.orig/include/asm-x86_64/unistd.h 2007-06-06 12:38:27.000000000 -0700
+++ linux-2.6.mod/include/asm-x86_64/unistd.h 2007-06-06 12:48:39.000000000 -0700
@@ -630,6 +630,8 @@
__SYSCALL(__NR_timerfd, sys_timerfd)
#define __NR_eventfd 283
__SYSCALL(__NR_eventfd, sys_eventfd)
+#define __NR_nonseqfd 284
+__SYSCALL(__NR_nonseqfd, sys_nonseqfd)

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