summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-05-09 10:23:11 +0200
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-05-09 10:23:11 +0200
commit47cc3e780474be2e462278d63d77c27a493b28ed (patch)
tree981b8688f193c872445c74415684f1933a793830
parentb3cfe0cb37ac7c3ca05a29e308f01c8eb27e06d4 (diff)
downloadop-kernel-dev-47cc3e780474be2e462278d63d77c27a493b28ed.zip
op-kernel-dev-47cc3e780474be2e462278d63d77c27a493b28ed.tar.gz
[AVR32] Wire up sys_utimensat
Tested with a slightly hacked version of the test case included with the original utimensat patch. All OK. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
-rw-r--r--arch/avr32/kernel/syscall_table.S1
-rw-r--r--include/asm-avr32/unistd.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/avr32/kernel/syscall_table.S b/arch/avr32/kernel/syscall_table.S
index 7c27958..07f6a6f 100644
--- a/arch/avr32/kernel/syscall_table.S
+++ b/arch/avr32/kernel/syscall_table.S
@@ -291,4 +291,5 @@ sys_call_table:
.long sys_shmget /* 275 */
.long sys_shmdt
.long sys_shmctl
+ .long sys_utimensat
.long sys_ni_syscall /* r8 is saturated at nr_syscalls */
diff --git a/include/asm-avr32/unistd.h b/include/asm-avr32/unistd.h
index 8f51204..2418cce 100644
--- a/include/asm-avr32/unistd.h
+++ b/include/asm-avr32/unistd.h
@@ -295,8 +295,10 @@
#define __NR_shmdt 276
#define __NR_shmctl 277
+#define __NR_utimensat 278
+
#ifdef __KERNEL__
-#define NR_syscalls 278
+#define NR_syscalls 279
#define __ARCH_WANT_IPC_PARSE_VERSION
OpenPOWER on IntegriCloud