about summary refs log tree commit diff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-18 14:55:30 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-18 14:55:30 -0400
commitd69ab5b3686acf75fdf5db6fad19c2c6a510bb4f (patch)
tree8a761e5ee83b8a53aa755ff288aa1ffd8c91088a /arch/microblaze
parent200d15479c0bc48471ee7b8e538ce33af990f82e (diff)
downloadmusl-d69ab5b3686acf75fdf5db6fad19c2c6a510bb4f.tar.gz
musl-d69ab5b3686acf75fdf5db6fad19c2c6a510bb4f.tar.xz
musl-d69ab5b3686acf75fdf5db6fad19c2c6a510bb4f.zip
fix microblaze definition of struct stat
the erroneous definition was missed because with works with qemu
user-level emulation, which also has the wrong definition. the actual
kernel uses the asm-generic generic definition.
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/bits/stat.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/microblaze/bits/stat.h b/arch/microblaze/bits/stat.h
index 8e920fc8..a8c0283d 100644
--- a/arch/microblaze/bits/stat.h
+++ b/arch/microblaze/bits/stat.h
@@ -4,8 +4,7 @@
 struct stat
 {
 	dev_t st_dev;
-	int __st_dev_padding;
-	long __st_ino_truncated;
+	ino_t st_ino;
 	mode_t st_mode;
 	nlink_t st_nlink;
 	uid_t st_uid;
@@ -19,5 +18,5 @@ struct stat
 	struct timespec st_atim;
 	struct timespec st_mtim;
 	struct timespec st_ctim;
-	ino_t st_ino;
+	unsigned __unused[2];
 };