Commit 106dac13 authored by SUGIOKA Toshinobu's avatar SUGIOKA Toshinobu Committed by Paul Mundt

sh: syscall 300 should be __NR_fstatat64.

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: default avatarSUGIOKA Toshinobu <sugioka@itonet.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 5c67cd05
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
#define __NR_mknodat 297 #define __NR_mknodat 297
#define __NR_fchownat 298 #define __NR_fchownat 298
#define __NR_futimesat 299 #define __NR_futimesat 299
#define __NR_newfstatat 300 #define __NR_fstatat64 300
#define __NR_unlinkat 301 #define __NR_unlinkat 301
#define __NR_renameat 302 #define __NR_renameat 302
#define __NR_linkat 303 #define __NR_linkat 303
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment