summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-23 04:20:54 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-23 04:20:54 +0000
commit562d4a05b09bebe2fcc130ec6b58e30cfd284245 (patch)
treecd185c97c7ea5d356c3786e6b753652e1c992abd /libc
parentf8cdf73d9585c8e886e5f4f69acca22ab618a519 (diff)
Jie Zhang writes: Fix struct kernel_stat64 for Blackfin.
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/bfin/bits/kernel_stat.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/bfin/bits/kernel_stat.h b/libc/sysdeps/linux/bfin/bits/kernel_stat.h
index f10f72ae1..1bfdb8e44 100644
--- a/libc/sysdeps/linux/bfin/bits/kernel_stat.h
+++ b/libc/sysdeps/linux/bfin/bits/kernel_stat.h
@@ -29,22 +29,20 @@ struct kernel_stat {
};
struct kernel_stat64 {
- unsigned char __pad0[6];
unsigned short st_dev;
- unsigned char __pad1[2];
+ unsigned char __pad0[10];
#define _HAVE_STAT64___ST_INO
unsigned long __st_ino;
unsigned int st_mode;
unsigned int st_nlink;
unsigned long st_uid;
unsigned long st_gid;
- unsigned char __pad2[6];
unsigned short st_rdev;
- unsigned char __pad3[2];
+ unsigned char __pad3[10];
long long st_size;
unsigned long st_blksize;
- unsigned long __pad4; /* future possible st_blocks high bits */
unsigned long st_blocks; /* Number 512-byte blocks allocated. */
+ unsigned long __pad4; /* future possible st_blocks high bits */
unsigned long st_atime;
unsigned long __pad5;
unsigned long st_mtime;
@@ -53,5 +51,5 @@ struct kernel_stat64 {
unsigned long __pad7; /* will be high 32 bits of ctime someday */
unsigned long long st_ino;
};
-#endif /* _BITS_STAT_STRUCT_H */
+#endif /* _BITS_STAT_STRUCT_H */