[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>
Showing
- arch/sparc64/kernel/sys_sparc32.c 65 additions, 3 deletionsarch/sparc64/kernel/sys_sparc32.c
- arch/sparc64/kernel/systbls.S 6 additions, 6 deletionsarch/sparc64/kernel/systbls.S
- include/asm-sparc/unistd.h 3 additions, 3 deletionsinclude/asm-sparc/unistd.h
- include/asm-sparc64/compat.h 37 additions, 3 deletionsinclude/asm-sparc64/compat.h
- include/asm-sparc64/stat.h 17 additions, 32 deletionsinclude/asm-sparc64/stat.h
- include/asm-sparc64/unistd.h 3 additions, 3 deletionsinclude/asm-sparc64/unistd.h
Loading
Please register or sign in to comment