[PATCH] frv: wrong syscall
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 23 Jun 2006 09:04:07 +0000 (02:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:55 +0000 (07:42 -0700)
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>
arch/frv/kernel/entry.S
include/asm-frv/unistd.h

index a9b59527a74157c2bca661366467fa05c4a20fc2..81d94e41a189b8edcd295e90ec42308a3ba72272 100644 (file)
@@ -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
index 7c2e712c3b73166078f6212e55a8c48a43bd2a26..91a171decfce78b9751620128e1bac302e6a1d67 100644 (file)
 #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