diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-06-23 02:04:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 07:42:55 -0700 |
commit | be2338f3ceb6d80170ebb495190d6aee79d8c7e3 (patch) | |
tree | 553d329dfda6160a5511bfb3799c6fb8343d2f5c | |
parent | 576132b42647e3facd28e3148a20307fadfd9afc (diff) | |
download | op-kernel-dev-be2338f3ceb6d80170ebb495190d6aee79d8c7e3.zip op-kernel-dev-be2338f3ceb6d80170ebb495190d6aee79d8c7e3.tar.gz |
[PATCH] frv: wrong syscall
The FRV arch should use fstatat64 not newfstatat.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/frv/kernel/entry.S | 2 | ||||
-rw-r--r-- | include/asm-frv/unistd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/frv/kernel/entry.S b/arch/frv/kernel/entry.S index a9b5952..81d94e4 100644 --- a/arch/frv/kernel/entry.S +++ b/arch/frv/kernel/entry.S @@ -1474,7 +1474,7 @@ sys_call_table: .long sys_mknodat .long sys_fchownat .long sys_futimesat - .long sys_newfstatat /* 300 */ + .long sys_fstatat64 /* 300 */ .long sys_unlinkat .long sys_renameat .long sys_linkat diff --git a/include/asm-frv/unistd.h b/include/asm-frv/unistd.h index 7c2e712..91a171d 100644 --- a/include/asm-frv/unistd.h +++ b/include/asm-frv/unistd.h @@ -306,7 +306,7 @@ #define __NR_mknodat 297 #define __NR_fchownat 298 #define __NR_futimesat 299 -#define __NR_newfstatat 300 +#define __NR_fstatat64 300 #define __NR_unlinkat 301 #define __NR_renameat 302 #define __NR_linkat 303 |