summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/unistd.h
diff options
context:
space:
mode:
authorDaniele Calore <orkaan@orkaan.org>2009-12-08 13:59:47 -0500
committerMatt Turner <mattst88@gmail.com>2009-12-18 01:11:13 -0500
commit21797c599c710d3851d241c4b50690f2482bf618 (patch)
treed80d0d03acc38f57a1f775767300f52c960dee49 /arch/alpha/include/asm/unistd.h
parent55639353a0035052d9ea6cfe4dde0ac7fcbb2c9f (diff)
alpha: Wire up missing/new syscalls
This wire up the: fallocate, timerfd_create, timerfd_settime, timerfd_gettime, signalfd4, eventfd2, epoll_create1, dup3, pipe2, inotify_init1, preadv, pwritev and rt_tgsigqueueinfo syscalls for the alpha port. For umount2, alpha have an "old" and "new" version called: oldumount and umount; so ignore umount2. Rebased on top of 6e17e8b9fb74b9fb9f6ea331f7f4a049c5b4c4b8 by Matt Turner. Signed-off-by: Daniele Calore <orkaan@orkaan.org> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/include/asm/unistd.h')
-rw-r--r--arch/alpha/include/asm/unistd.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h
index 7f23665122d..62e823e68f6 100644
--- a/arch/alpha/include/asm/unistd.h
+++ b/arch/alpha/include/asm/unistd.h
@@ -247,6 +247,7 @@
#define __IGNORE_pause
#define __IGNORE_time
#define __IGNORE_utime
+#define __IGNORE_umount2
/*
* Linux-specific system calls begin at 300
@@ -434,10 +435,23 @@
#define __NR_timerfd 477
#define __NR_eventfd 478
#define __NR_recvmmsg 479
+#define __NR_fallocate 480
+#define __NR_timerfd_create 481
+#define __NR_timerfd_settime 482
+#define __NR_timerfd_gettime 483
+#define __NR_signalfd4 484
+#define __NR_eventfd2 485
+#define __NR_epoll_create1 486
+#define __NR_dup3 487
+#define __NR_pipe2 488
+#define __NR_inotify_init1 489
+#define __NR_preadv 490
+#define __NR_pwritev 491
+#define __NR_rt_tgsigqueueinfo 492
#ifdef __KERNEL__
-#define NR_SYSCALLS 480
+#define NR_SYSCALLS 493
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR