]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Wire up utimensat, signalfd, timerfd, eventfd
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 29 May 2007 14:29:40 +0000 (23:29 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 11 Jun 2007 17:20:53 +0000 (18:20 +0100)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall64-64.S
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-o32.S
include/asm-mips/unistd.h

index 0c9a9ff8cd25ec1c200347206f762f8f09b1ac27..ae985d1fcca12cb6722fc371f681ff3bce9000a1 100644 (file)
@@ -657,7 +657,11 @@ einval:    li      v0, -EINVAL
        sys     sys_getcpu              3
        sys     sys_epoll_pwait         6
        sys     sys_ioprio_set          3
-       sys     sys_ioprio_get          2
+       sys     sys_ioprio_get          2       /* 4315 */
+       sys     sys_utimensat           4
+       sys     sys_signalfd            3
+       sys     sys_timerfd             4
+       sys     sys_eventfd             1
        .endm
 
        /* We pre-compute the number of _instruction_ bytes needed to
index 23f3b118f7183221c8807d388a6df771a797388a..7bcd5a1a85f593ad818abe3e763b08ab1f705db3 100644 (file)
@@ -473,4 +473,8 @@ sys_call_table:
        PTR     sys_epoll_pwait
        PTR     sys_ioprio_set
        PTR     sys_ioprio_get
+       PTR     sys_utimensat                   /* 5275 */
+       PTR     sys_signalfd
+       PTR     sys_timerfd
+       PTR     sys_eventfd
        .size   sys_call_table,.-sys_call_table
index 1631035ffc243aa5fdf730828127d87dcf0d3685..532a2f3b42fc53c1498abfae16ca6289649b3eee 100644 (file)
@@ -399,4 +399,8 @@ EXPORT(sysn32_call_table)
        PTR     compat_sys_epoll_pwait
        PTR     sys_ioprio_set
        PTR     sys_ioprio_get
+       PTR     compat_sys_utimensat
+       PTR     compat_sys_signalfd             /* 5280 */
+       PTR     compat_sys_timerfd
+       PTR     sys_eventfd
        .size   sysn32_call_table,.-sysn32_call_table
index 2aa99426ac1c11332e4e430a4131b6b8817ff01e..6bbe0f4ed8ba757dc6c3c897c6ab5618a6ec3aac 100644 (file)
@@ -521,4 +521,8 @@ sys_call_table:
        PTR     compat_sys_epoll_pwait
        PTR     sys_ioprio_set
        PTR     sys_ioprio_get                  /* 4315 */
+       PTR     compat_sys_utimensat
+       PTR     compat_sys_signalfd
+       PTR     compat_sys_timerfd
+       PTR     sys_eventfd
        .size   sys_call_table,.-sys_call_table
index 91c306fcfb725d18b247192cfb310093275bdb20..59d6fec8fbfff9a3c18969a2655b13d392e0aedd 100644 (file)
 #define __NR_epoll_pwait               (__NR_Linux + 313)
 #define __NR_ioprio_set                        (__NR_Linux + 314)
 #define __NR_ioprio_get                        (__NR_Linux + 315)
+#define __NR_utimensat                 (__NR_Linux + 316)
+#define __NR_signalfd                  (__NR_Linux + 317)
+#define __NR_timerfd                   (__NR_Linux + 318)
+#define __NR_eventfd                   (__NR_Linux + 319)
 
 /*
  * Offset of the last Linux o32 flavoured syscall
  */
-#define __NR_Linux_syscalls            315
+#define __NR_Linux_syscalls            319
 
 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
 
 #define __NR_O32_Linux                 4000
-#define __NR_O32_Linux_syscalls                315
+#define __NR_O32_Linux_syscalls                319
 
 #if _MIPS_SIM == _MIPS_SIM_ABI64
 
 #define __NR_epoll_pwait               (__NR_Linux + 272)
 #define __NR_ioprio_set                        (__NR_Linux + 273)
 #define __NR_ioprio_get                        (__NR_Linux + 274)
+#define __NR_utimensat                 (__NR_Linux + 275)
+#define __NR_signalfd                  (__NR_Linux + 276)
+#define __NR_timerfd                   (__NR_Linux + 277)
+#define __NR_eventfd                   (__NR_Linux + 278)
 
 /*
  * Offset of the last Linux 64-bit flavoured syscall
  */
-#define __NR_Linux_syscalls            274
+#define __NR_Linux_syscalls            278
 
 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
 
 #define __NR_64_Linux                  5000
-#define __NR_64_Linux_syscalls         274
+#define __NR_64_Linux_syscalls         278
 
 #if _MIPS_SIM == _MIPS_SIM_NABI32
 
 #define __NR_epoll_pwait               (__NR_Linux + 276)
 #define __NR_ioprio_set                        (__NR_Linux + 277)
 #define __NR_ioprio_get                        (__NR_Linux + 278)
+#define __NR_utimensat                 (__NR_Linux + 279)
+#define __NR_signalfd                  (__NR_Linux + 280)
+#define __NR_timerfd                   (__NR_Linux + 281)
+#define __NR_eventfd                   (__NR_Linux + 282)
 
 /*
  * Offset of the last N32 flavoured syscall
  */
-#define __NR_Linux_syscalls            278
+#define __NR_Linux_syscalls            282
 
 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
 
 #define __NR_N32_Linux                 6000
-#define __NR_N32_Linux_syscalls                278
+#define __NR_N32_Linux_syscalls                282
 
 #ifdef __KERNEL__