[PATCH] sparc64: Fix stat
authorDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2005 22:13:15 +0000 (15:13 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Apr 2005 22:13:15 +0000 (15:13 -0700)
commit0ba4da03cc84f54b2574e1abcdaa18ef8456a9fb
tree6730c36a12833eaf05ddddd7b26fc4de1284ff5b
parent0b2cad2f30d0353f2576b1a2207c0792ba713157
[PATCH] sparc64: Fix stat

Like Alpha, sparc64's struct stat was defined before we had the
nanosecond et al.  fields added.  So like Alpha I have to cons up a
struct stat64 to get this stuff.  I'll work on the glibc bits soon.

Also, we were forgetting to fill in the nanosecond fields in the sparc
compat stat64 syscalls.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/systbls.S
include/asm-sparc/unistd.h
include/asm-sparc64/compat.h
include/asm-sparc64/stat.h
include/asm-sparc64/unistd.h