]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: syscall 300 should be __NR_fstatat64.
authorSUGIOKA Toshinobu <sugioka@itonet.co.jp>
Tue, 19 Dec 2006 03:13:55 +0000 (12:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 13 Feb 2007 01:54:44 +0000 (10:54 +0900)
syscall number 300 fails while testing with latest LTP
(ltp-full-20061121.tgz) on sh.

sys_fstatat64 is called on syscall 300 (see arch/sh/kernel/syscalls.S),
and __ARCH_WANT_STAT64 is defined in include/asm-sh/unistd.h, so
following patch seems correct.

Signed-off-by: SUGIOKA Toshinobu <sugioka@itonet.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/unistd.h

index f982073dc6c68250b580b11c814a5d77afed72dc..7d0cd2b1371e5582d732b32ca7927d7553ec1ddf 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