LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [patch 4/13] signal/timer/event fds v8 - signalfd wire up x86_64 arch ...
@ 2007-03-20 18:37 Davide Libenzi
0 siblings, 0 replies; only message in thread
From: Davide Libenzi @ 2007-03-20 18:37 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Andrew Morton, Linus Torvalds, Oleg Nesterov
This patch wire the signalfd system call to the x86_64 architecture.
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
- Davide
Index: linux-2.6.21-rc3.quilt/include/asm-x86_64/unistd.h
===================================================================
--- linux-2.6.21-rc3.quilt.orig/include/asm-x86_64/unistd.h 2007-03-19 19:01:01.000000000 -0700
+++ linux-2.6.21-rc3.quilt/include/asm-x86_64/unistd.h 2007-03-19 19:01:49.000000000 -0700
@@ -619,8 +619,10 @@
__SYSCALL(__NR_vmsplice, sys_vmsplice)
#define __NR_move_pages 279
__SYSCALL(__NR_move_pages, sys_move_pages)
+#define __NR_signalfd 280
+__SYSCALL(__NR_signalfd, sys_signalfd)
-#define __NR_syscall_max __NR_move_pages
+#define __NR_syscall_max __NR_signalfd
#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR
Index: linux-2.6.21-rc3.quilt/arch/x86_64/ia32/ia32entry.S
===================================================================
--- linux-2.6.21-rc3.quilt.orig/arch/x86_64/ia32/ia32entry.S 2007-03-19 19:01:01.000000000 -0700
+++ linux-2.6.21-rc3.quilt/arch/x86_64/ia32/ia32entry.S 2007-03-19 19:01:49.000000000 -0700
@@ -714,9 +714,10 @@
.quad compat_sys_get_robust_list
.quad sys_splice
.quad sys_sync_file_range
- .quad sys_tee
+ .quad sys_tee /* 315 */
.quad compat_sys_vmsplice
.quad compat_sys_move_pages
.quad sys_getcpu
.quad sys_epoll_pwait
+ .quad sys_signalfd /* 320 */
ia32_syscall_end:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-20 18:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-20 18:37 [patch 4/13] signal/timer/event fds v8 - signalfd wire up x86_64 arch Davide Libenzi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).