summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavide Libenzi <davidel@xmailserver.org>2007-05-10 22:23:20 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-11 08:29:37 -0700
commitfdb902b1225e1668315f38e96d2f439452c03a15 (patch)
tree6751950608a7635df899bc5f20184754342b94a6 /include
parente1ad7468c77ddb94b0615d5f50fa255525fde0f0 (diff)
downloadop-kernel-dev-fdb902b1225e1668315f38e96d2f439452c03a15.zip
op-kernel-dev-fdb902b1225e1668315f38e96d2f439452c03a15.tar.gz
signal/timer/event: eventfd wire up x86 arches
This patch wires the eventfd system call to the x86 architectures. Signed-off-by: Davide Libenzi <davidel@xmailserver.org> Cc: Michael Kerrisk <mtk-manpages@gmx.net> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/unistd.h3
-rw-r--r--include/asm-x86_64/unistd.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h
index 1c8076a..e84ace1 100644
--- a/include/asm-i386/unistd.h
+++ b/include/asm-i386/unistd.h
@@ -328,10 +328,11 @@
#define __NR_utimensat 320
#define __NR_signalfd 321
#define __NR_timerfd 322
+#define __NR_eventfd 323
#ifdef __KERNEL__
-#define NR_syscalls 323
+#define NR_syscalls 324
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
diff --git a/include/asm-x86_64/unistd.h b/include/asm-x86_64/unistd.h
index 3e273b0..ae1ed05 100644
--- a/include/asm-x86_64/unistd.h
+++ b/include/asm-x86_64/unistd.h
@@ -628,6 +628,8 @@ __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
__SYSCALL(__NR_signalfd, sys_signalfd)
#define __NR_timerfd 282
__SYSCALL(__NR_timerfd, sys_timerfd)
+#define __NR_eventfd 283
+__SYSCALL(__NR_eventfd, sys_eventfd)
#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR
OpenPOWER on IntegriCloud