diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-05-08 21:42:48 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-05-08 21:42:48 -0400 |
commit | 21ec4c6453790cb9bfa996ab8f27f22dd47c516a (patch) | |
tree | 31c011df5b17aa38cc07464176da781765dc5eea | |
parent | f6a3c1ca00ce9a43942364a0cc15601b291df281 (diff) |
sh: Wire up utimensat syscall.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/kernel/syscalls.S | 1 | ||||
-rw-r--r-- | include/asm-sh/unistd.h | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/sh/kernel/syscalls.S b/arch/sh/kernel/syscalls.S index 38fc8cd3ea3a..4357d1a6358f 100644 --- a/arch/sh/kernel/syscalls.S +++ b/arch/sh/kernel/syscalls.S | |||
@@ -354,3 +354,4 @@ ENTRY(sys_call_table) | |||
354 | .long sys_move_pages | 354 | .long sys_move_pages |
355 | .long sys_getcpu | 355 | .long sys_getcpu |
356 | .long sys_epoll_pwait | 356 | .long sys_epoll_pwait |
357 | .long sys_utimensat /* 320 */ | ||
diff --git a/include/asm-sh/unistd.h b/include/asm-sh/unistd.h index 49be50a36b77..af71e379a5ee 100644 --- a/include/asm-sh/unistd.h +++ b/include/asm-sh/unistd.h | |||
@@ -85,7 +85,7 @@ | |||
85 | #define __NR_sigpending 73 | 85 | #define __NR_sigpending 73 |
86 | #define __NR_sethostname 74 | 86 | #define __NR_sethostname 74 |
87 | #define __NR_setrlimit 75 | 87 | #define __NR_setrlimit 75 |
88 | #define __NR_getrlimit 76 /* Back compatible 2Gig limited rlimit */ | 88 | #define __NR_getrlimit 76 /* Back compatible 2Gig limited rlimit */ |
89 | #define __NR_getrusage 77 | 89 | #define __NR_getrusage 77 |
90 | #define __NR_gettimeofday 78 | 90 | #define __NR_gettimeofday 78 |
91 | #define __NR_settimeofday 79 | 91 | #define __NR_settimeofday 79 |
@@ -328,8 +328,9 @@ | |||
328 | #define __NR_move_pages 317 | 328 | #define __NR_move_pages 317 |
329 | #define __NR_getcpu 318 | 329 | #define __NR_getcpu 318 |
330 | #define __NR_epoll_pwait 319 | 330 | #define __NR_epoll_pwait 319 |
331 | #define __NR_utimensat 320 | ||
331 | 332 | ||
332 | #define NR_syscalls 320 | 333 | #define NR_syscalls 321 |
333 | 334 | ||
334 | #ifdef __KERNEL__ | 335 | #ifdef __KERNEL__ |
335 | 336 | ||