sh: Wire up utimensat syscall.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 9 May 2007 01:42:48 +0000 (10:42 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 9 May 2007 01:42:48 +0000 (10:42 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/syscalls.S
include/asm-sh/unistd.h

index 38fc8cd..4357d1a 100644 (file)
@@ -354,3 +354,4 @@ ENTRY(sys_call_table)
        .long sys_move_pages
        .long sys_getcpu
        .long sys_epoll_pwait
+       .long sys_utimensat             /* 320 */
index 49be50a..af71e37 100644 (file)
@@ -85,7 +85,7 @@
 #define __NR_sigpending                 73
 #define __NR_sethostname        74
 #define __NR_setrlimit          75
-#define __NR_getrlimit          76     /* Back compatible 2Gig limited rlimit */
+#define __NR_getrlimit          76     /* Back compatible 2Gig limited rlimit */
 #define __NR_getrusage          77
 #define __NR_gettimeofday       78
 #define __NR_settimeofday       79
 #define __NR_move_pages                317
 #define __NR_getcpu            318
 #define __NR_epoll_pwait       319
+#define __NR_utimensat         320
 
-#define NR_syscalls 320
+#define NR_syscalls 321
 
 #ifdef __KERNEL__