aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/stat.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-sparc64/stat.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/asm-sparc64/stat.h')
-rw-r--r--include/asm-sparc64/stat.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/include/asm-sparc64/stat.h b/include/asm-sparc64/stat.h
new file mode 100644
index 000000000000..48e06618a5a4
--- /dev/null
+++ b/include/asm-sparc64/stat.h
@@ -0,0 +1,63 @@
1/* $Id: stat.h,v 1.7 2000/08/04 05:35:55 davem Exp $ */
2#ifndef _SPARC64_STAT_H
3#define _SPARC64_STAT_H
4
5#include <linux/types.h>
6
7struct stat {
8 unsigned st_dev;
9 ino_t st_ino;
10 mode_t st_mode;
11 short st_nlink;
12 uid_t st_uid;
13 gid_t st_gid;
14 unsigned st_rdev;
15 off_t st_size;
16 time_t st_atime;
17 time_t st_mtime;
18 time_t st_ctime;
19 off_t st_blksize;
20 off_t st_blocks;
21 unsigned long __unused4[2];
22};
23
24#ifdef __KERNEL__
25/* This is sparc32 stat64 structure. */
26
27struct stat64 {
28 unsigned long long st_dev;
29
30 unsigned long long st_ino;
31
32 unsigned int st_mode;
33 unsigned int st_nlink;
34
35 unsigned int st_uid;
36 unsigned int st_gid;
37
38 unsigned long long st_rdev;
39
40 unsigned char __pad3[8];
41
42 long long st_size;
43 unsigned int st_blksize;
44
45 unsigned char __pad4[8];
46 unsigned int st_blocks;
47
48 unsigned int st_atime;
49 unsigned int st_atime_nsec;
50
51 unsigned int st_mtime;
52 unsigned int st_mtime_nsec;
53
54 unsigned int st_ctime;
55 unsigned int st_ctime_nsec;
56
57 unsigned int __unused4;
58 unsigned int __unused5;
59};
60
61#endif
62
63#endif