aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-06-23 05:04:07 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 10:42:55 -0400
commitbe2338f3ceb6d80170ebb495190d6aee79d8c7e3 (patch)
tree553d329dfda6160a5511bfb3799c6fb8343d2f5c
parent576132b42647e3facd28e3148a20307fadfd9afc (diff)
[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.S2
-rw-r--r--include/asm-frv/unistd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/frv/kernel/entry.S b/arch/frv/kernel/entry.S
index a9b59527a741..81d94e41a189 100644
--- a/arch/frv/kernel/entry.S
+++ b/arch/frv/kernel/entry.S
@@ -1474,7 +1474,7 @@ sys_call_table:
1474 .long sys_mknodat 1474 .long sys_mknodat
1475 .long sys_fchownat 1475 .long sys_fchownat
1476 .long sys_futimesat 1476 .long sys_futimesat
1477 .long sys_newfstatat /* 300 */ 1477 .long sys_fstatat64 /* 300 */
1478 .long sys_unlinkat 1478 .long sys_unlinkat
1479 .long sys_renameat 1479 .long sys_renameat
1480 .long sys_linkat 1480 .long sys_linkat
diff --git a/include/asm-frv/unistd.h b/include/asm-frv/unistd.h
index 7c2e712c3b73..91a171decfce 100644
--- a/include/asm-frv/unistd.h
+++ b/include/asm-frv/unistd.h
@@ -306,7 +306,7 @@
306#define __NR_mknodat 297 306#define __NR_mknodat 297
307#define __NR_fchownat 298 307#define __NR_fchownat 298
308#define __NR_futimesat 299 308#define __NR_futimesat 299
309#define __NR_newfstatat 300 309#define __NR_fstatat64 300
310#define __NR_unlinkat 301 310#define __NR_unlinkat 301
311#define __NR_renameat 302 311#define __NR_renameat 302
312#define __NR_linkat 303 312#define __NR_linkat 303