diff options
author | Michal Simek <monstr@monstr.eu> | 2009-05-26 10:30:31 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-05-26 10:45:24 -0400 |
commit | 8b3f7d5c0ba7600222744588126388b225c61f18 (patch) | |
tree | 373a937996ac06c7bb58cc328d8cd8656e4121e9 /arch/microblaze | |
parent | e57a221f15fd62921d845ddb37ce048fc7a38fd6 (diff) |
microblaze_mmu_v2: stat.h MMU update
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/include/asm/stat.h | 77 |
1 files changed, 36 insertions, 41 deletions
diff --git a/arch/microblaze/include/asm/stat.h b/arch/microblaze/include/asm/stat.h index 5f18b8aed220..a15f77520bfd 100644 --- a/arch/microblaze/include/asm/stat.h +++ b/arch/microblaze/include/asm/stat.h | |||
@@ -16,58 +16,53 @@ | |||
16 | 16 | ||
17 | #include <linux/posix_types.h> | 17 | #include <linux/posix_types.h> |
18 | 18 | ||
19 | #define STAT_HAVE_NSEC 1 | ||
20 | |||
19 | struct stat { | 21 | struct stat { |
20 | unsigned int st_dev; | 22 | unsigned long st_dev; |
21 | unsigned long st_ino; | 23 | unsigned long st_ino; |
22 | unsigned int st_mode; | 24 | unsigned int st_mode; |
23 | unsigned int st_nlink; | 25 | unsigned int st_nlink; |
24 | unsigned int st_uid; | 26 | unsigned int st_uid; |
25 | unsigned int st_gid; | 27 | unsigned int st_gid; |
26 | unsigned int st_rdev; | 28 | unsigned long st_rdev; |
27 | unsigned long st_size; | 29 | unsigned long __pad1; |
28 | unsigned long st_blksize; | 30 | long st_size; |
29 | unsigned long st_blocks; | 31 | int st_blksize; |
30 | unsigned long st_atime; | 32 | int __pad2; |
31 | unsigned long __unused1; /* unsigned long st_atime_nsec */ | 33 | long st_blocks; |
32 | unsigned long st_mtime; | 34 | int st_atime; |
33 | unsigned long __unused2; /* unsigned long st_mtime_nsec */ | 35 | unsigned int st_atime_nsec; |
34 | unsigned long st_ctime; | 36 | int st_mtime; |
35 | unsigned long __unused3; /* unsigned long st_ctime_nsec */ | 37 | unsigned int st_mtime_nsec; |
38 | int st_ctime; | ||
39 | unsigned int st_ctime_nsec; | ||
36 | unsigned long __unused4; | 40 | unsigned long __unused4; |
37 | unsigned long __unused5; | 41 | unsigned long __unused5; |
38 | }; | 42 | }; |
39 | 43 | ||
40 | struct stat64 { | 44 | struct stat64 { |
41 | unsigned long long st_dev; | 45 | unsigned long long st_dev; /* Device. */ |
42 | unsigned long __unused1; | 46 | unsigned long long st_ino; /* File serial number. */ |
43 | 47 | unsigned int st_mode; /* File mode. */ | |
44 | unsigned long long st_ino; | 48 | unsigned int st_nlink; /* Link count. */ |
45 | 49 | unsigned int st_uid; /* User ID of the file's owner. */ | |
46 | unsigned int st_mode; | 50 | unsigned int st_gid; /* Group ID of the file's group. */ |
47 | unsigned int st_nlink; | 51 | unsigned long long st_rdev; /* Device number, if device. */ |
48 | 52 | unsigned long long __pad1; | |
49 | unsigned int st_uid; | 53 | long long st_size; /* Size of file, in bytes. */ |
50 | unsigned int st_gid; | 54 | int st_blksize; /* Optimal block size for I/O. */ |
51 | 55 | int __pad2; | |
52 | unsigned long long st_rdev; | 56 | long long st_blocks; /* Number 512-byte blocks allocated. */ |
53 | unsigned long __unused3; | 57 | int st_atime; /* Time of last access. */ |
54 | 58 | unsigned int st_atime_nsec; | |
55 | long long st_size; | 59 | int st_mtime; /* Time of last modification. */ |
56 | unsigned long st_blksize; | 60 | unsigned int st_mtime_nsec; |
57 | 61 | int st_ctime; /* Time of last status change. */ | |
58 | unsigned long st_blocks; /* No. of 512-byte blocks allocated */ | 62 | unsigned int st_ctime_nsec; |
59 | unsigned long __unused4; /* future possible st_blocks high bits */ | 63 | unsigned int __unused4; |
60 | 64 | unsigned int __unused5; | |
61 | unsigned long st_atime; | ||
62 | unsigned long st_atime_nsec; | ||
63 | |||
64 | unsigned long st_mtime; | ||
65 | unsigned long st_mtime_nsec; | ||
66 | |||
67 | unsigned long st_ctime; | ||
68 | unsigned long st_ctime_nsec; | ||
69 | |||
70 | unsigned long __unused8; | ||
71 | }; | 65 | }; |
72 | 66 | ||
73 | #endif /* _ASM_MICROBLAZE_STAT_H */ | 67 | #endif /* _ASM_MICROBLAZE_STAT_H */ |
68 | |||