]> err.no Git - linux-2.6/commit
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)
commit106dac130d6fb6670a0bbfa8c714054990b41b03
treeaec64227b43045d9934551e85e9bad0834053327
parent5c67cd05e3e9b6f08c3472dd66f0d8d03e1ee870
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: SUGIOKA Toshinobu <sugioka@itonet.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/unistd.h