summaryrefslogtreecommitdiffstats
path: root/arch/cris/include
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2009-04-28 16:42:39 +0200
committerJesper Nilsson <jesper.nilsson@axis.com>2009-04-28 17:53:35 +0200
commit6d3d4be40357e3ea43b5c8837dec01d8f6cd1c67 (patch)
treecfbf63f2b5a267b0994d211e5220bff0d494886a /arch/cris/include
parentd7bd15f67ebaaebc842a971e600c364a73b81b22 (diff)
downloadblackbird-obmc-linux-6d3d4be40357e3ea43b5c8837dec01d8f6cd1c67.tar.gz
blackbird-obmc-linux-6d3d4be40357e3ea43b5c8837dec01d8f6cd1c67.zip
CRIS: Wire up syscalls signalfd4 to writev.
Adds sys_signalfd4, sys_eventfd2, sys_epoll_create1, sys_dup3, sys_pipe2, sys_inotify_init1, sys_preadv, sys_pwritev for both CRISv10 and CRISv32.
Diffstat (limited to 'arch/cris/include')
-rw-r--r--arch/cris/include/asm/unistd.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/cris/include/asm/unistd.h b/arch/cris/include/asm/unistd.h
index 235d076379d5..c17079388bb9 100644
--- a/arch/cris/include/asm/unistd.h
+++ b/arch/cris/include/asm/unistd.h
@@ -281,7 +281,7 @@
#define __NR_mbind 274
#define __NR_get_mempolicy 275
#define __NR_set_mempolicy 276
-#define __NR_mq_open 277
+#define __NR_mq_open 277
#define __NR_mq_unlink (__NR_mq_open+1)
#define __NR_mq_timedsend (__NR_mq_open+2)
#define __NR_mq_timedreceive (__NR_mq_open+3)
@@ -331,10 +331,18 @@
#define __NR_fallocate 324
#define __NR_timerfd_settime 325
#define __NR_timerfd_gettime 326
+#define __NR_signalfd4 327
+#define __NR_eventfd2 328
+#define __NR_epoll_create1 329
+#define __NR_dup3 330
+#define __NR_pipe2 331
+#define __NR_inotify_init1 332
+#define __NR_preadv 333
+#define __NR_pwritev 334
#ifdef __KERNEL__
-#define NR_syscalls 327
+#define NR_syscalls 335
#include <arch/unistd.h>
OpenPOWER on IntegriCloud