Skip to contentSkip to conversation

fdmap v2 - wire sys_nonseqfd to x86-64

PATCH In review Davide Libenzi 1 participant 1 message Jun 6, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 6/8 fdmap v2 - wire sys_nonseqfd to x86-64

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

- Davide

arch/x86_64/ia32/ia32entry.S +1 -0
Index: linux-2.6.mod/arch/x86_64/ia32/ia32entry.S
===================================================================
@@ -719,4 +719,5 @@
 	.quad compat_sys_signalfd
 	.quad compat_sys_timerfd
 	.quad sys_eventfd
+	.quad sys_nonseqfd
 ia32_syscall_end:
include/asm-x86_64/unistd.h +2 -0
Index: linux-2.6.mod/include/asm-x86_64/unistd.h
===================================================================
@@ -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