diff options
Diffstat (limited to 'include/asm-sparc64/compat.h')
-rw-r--r-- | include/asm-sparc64/compat.h | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/include/asm-sparc64/compat.h b/include/asm-sparc64/compat.h index 2950279dd776..22f58055b8ab 100644 --- a/include/asm-sparc64/compat.h +++ b/include/asm-sparc64/compat.h | |||
@@ -51,16 +51,50 @@ struct compat_stat { | |||
51 | compat_dev_t st_rdev; | 51 | compat_dev_t st_rdev; |
52 | compat_off_t st_size; | 52 | compat_off_t st_size; |
53 | compat_time_t st_atime; | 53 | compat_time_t st_atime; |
54 | u32 __unused1; | 54 | compat_ulong_t st_atime_nsec; |
55 | compat_time_t st_mtime; | 55 | compat_time_t st_mtime; |
56 | u32 __unused2; | 56 | compat_ulong_t st_mtime_nsec; |
57 | compat_time_t st_ctime; | 57 | compat_time_t st_ctime; |
58 | u32 __unused3; | 58 | compat_ulong_t st_ctime_nsec; |
59 | compat_off_t st_blksize; | 59 | compat_off_t st_blksize; |
60 | compat_off_t st_blocks; | 60 | compat_off_t st_blocks; |
61 | u32 __unused4[2]; | 61 | u32 __unused4[2]; |
62 | }; | 62 | }; |
63 | 63 | ||
64 | struct compat_stat64 { | ||
65 | unsigned long long st_dev; | ||
66 | |||
67 | unsigned long long st_ino; | ||
68 | |||
69 | unsigned int st_mode; | ||
70 | unsigned int st_nlink; | ||
71 | |||
72 | unsigned int st_uid; | ||
73 | unsigned int st_gid; | ||
74 | |||
75 | unsigned long long st_rdev; | ||
76 | |||
77 | unsigned char __pad3[8]; | ||
78 | |||
79 | long long st_size; | ||
80 | unsigned int st_blksize; | ||
81 | |||
82 | unsigned char __pad4[8]; | ||
83 | unsigned int st_blocks; | ||
84 | |||
85 | unsigned int st_atime; | ||
86 | unsigned int st_atime_nsec; | ||
87 | |||
88 | unsigned int st_mtime; | ||
89 | unsigned int st_mtime_nsec; | ||
90 | |||
91 | unsigned int st_ctime; | ||
92 | unsigned int st_ctime_nsec; | ||
93 | |||
94 | unsigned int __unused4; | ||
95 | unsigned int __unused5; | ||
96 | }; | ||
97 | |||
64 | struct compat_flock { | 98 | struct compat_flock { |
65 | short l_type; | 99 | short l_type; |
66 | short l_whence; | 100 | short l_whence; |