aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/stat_64.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-01-02 18:48:21 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-02 18:48:21 -0800
commit12aa0b17328a01490c9e53904767ca59596f9ea1 (patch)
tree4e752f423cbbf0782122959b376318fd006491e0 /arch/sparc/include/asm/stat_64.h
parentsparc32: use proper types in struct stat (diff)
downloadlinux-dev-12aa0b17328a01490c9e53904767ca59596f9ea1.tar.xz
linux-dev-12aa0b17328a01490c9e53904767ca59596f9ea1.zip
sparc: unify stat.h
To my suprise struct stat64 was not equal on sparc 32 and sparc64, so there was really nothing to share here. Unify the files by adding their respective content to stat.h. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--arch/sparc/include/asm/stat_64.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/arch/sparc/include/asm/stat_64.h b/arch/sparc/include/asm/stat_64.h
deleted file mode 100644
index 9650fdea847f..000000000000
--- a/arch/sparc/include/asm/stat_64.h
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef _SPARC64_STAT_H
-#define _SPARC64_STAT_H
-
-#include <linux/types.h>
-
-struct stat {
- unsigned st_dev;
- ino_t st_ino;
- mode_t st_mode;
- short st_nlink;
- uid_t st_uid;
- gid_t st_gid;
- unsigned st_rdev;
- off_t st_size;
- time_t st_atime;
- time_t st_mtime;
- time_t st_ctime;
- off_t st_blksize;
- off_t st_blocks;
- unsigned long __unused4[2];
-};
-
-struct stat64 {
- unsigned long st_dev;
- unsigned long st_ino;
- unsigned long st_nlink;
-
- unsigned int st_mode;
- unsigned int st_uid;
- unsigned int st_gid;
- unsigned int __pad0;
-
- unsigned long st_rdev;
- long st_size;
- long st_blksize;
- long st_blocks;
-
- unsigned long st_atime;
- unsigned long st_atime_nsec;
- unsigned long st_mtime;
- unsigned long st_mtime_nsec;
- unsigned long st_ctime;
- unsigned long st_ctime_nsec;
- long __unused[3];
-};
-
-#endif