]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
sh: Wire up new syscalls.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:34:45 +0000 (18:34 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:34:45 +0000 (18:34 +0900)
This wires up the signalfd4, eventfd2, epoll_create1, dup3, pipe2, and
inotify_init1 syscalls.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/syscalls_32.S
arch/sh/kernel/syscalls_64.S
include/asm-sh/unistd_32.h
include/asm-sh/unistd_64.h

index a46cc3a411485d4b71320015c5d1bb47ece080c1..0af693e65764d494dc487eb9a386baeb3a95d3aa 100644 (file)
@@ -343,3 +343,9 @@ ENTRY(sys_call_table)
        .long sys_fallocate
        .long sys_timerfd_settime       /* 325 */
        .long sys_timerfd_gettime
+       .long sys_signalfd4
+       .long sys_eventfd2
+       .long sys_epoll_create1
+       .long sys_dup3                  /* 330 */
+       .long sys_pipe2
+       .long sys_inotify_init1
index d5d7843aad94c1c8ff79da288a16e422a7a9ad1b..0b436aa3cad7931df028a5e8dfa44e0e8e02d6d5 100644 (file)
@@ -381,3 +381,9 @@ sys_call_table:
        .long sys_fallocate
        .long sys_timerfd_settime
        .long sys_timerfd_gettime
+       .long sys_signalfd4             /* 355 */
+       .long sys_eventfd2
+       .long sys_epoll_create1
+       .long sys_dup3
+       .long sys_pipe2
+       .long sys_inotify_init1         /* 360 */
index 0b07212ec659f9839baad36c4a31c207584dcc21..d52c000cf9243fdaaa42e75eeea16a6f3b9b457e 100644 (file)
 #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_syscalls 327
+#define NR_syscalls 333
 
 #ifdef __KERNEL__
 
index 9d21eab52427e260159f46c44094a91c1c27f328..7c54e91753c14c8ccbc6d7ea7e623679c9604044 100644 (file)
 #define __NR_fallocate         352
 #define __NR_timerfd_settime   353
 #define __NR_timerfd_gettime   354
+#define __NR_signalfd4         355
+#define __NR_eventfd2          356
+#define __NR_epoll_create1     357
+#define __NR_dup3              358
+#define __NR_pipe2             359
+#define __NR_inotify_init1     360
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 353
+#define NR_syscalls 361
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR