Hello,<br><br><div class="gmail_quote">2011/6/27 Antony Pavlov <span dir="ltr"><<a href="mailto:antonynpavlov@gmail.com">antonynpavlov@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Signed-off-by: Antony Pavlov <<a href="mailto:antonynpavlov@gmail.com">antonynpavlov@gmail.com</a>><br>
---<br>
include/linux/stat.h | 56 ++++++++++++++++++++++++-------------------------<br>
1 files changed, 27 insertions(+), 29 deletions(-)<br>
<br>
diff --git a/include/linux/stat.h b/include/linux/stat.h<br>
index 10103d4..c12ff57 100644<br>
--- a/include/linux/stat.h<br>
+++ b/include/linux/stat.h<br>
@@ -65,34 +65,7 @@ struct stat {<br>
unsigned long __unused5;<br>
};<br>
<br>
-#else<br>
-<br>
-struct stat {<br>
- unsigned short st_dev;<br>
- unsigned short __pad1;<br>
- unsigned long st_ino;<br>
- unsigned short st_mode;<br>
- unsigned short st_nlink;<br>
- unsigned short st_uid;<br>
- unsigned short st_gid;<br>
- unsigned short st_rdev;<br>
- unsigned short __pad2;<br>
- unsigned long st_size;<br>
- unsigned long st_blksize;<br>
- unsigned long st_blocks;<br>
- unsigned long st_atime;<br>
- unsigned long __unused1;<br>
- unsigned long st_mtime;<br>
- unsigned long __unused2;<br>
- unsigned long st_ctime;<br>
- unsigned long __unused3;<br>
- unsigned long __unused4;<br>
- unsigned long __unused5;<br>
-};<br>
-<br>
-#endif /* __ARM__ */<br>
-<br>
-#if defined (__MIPS__)<br>
+#elif defined(__MIPS__)<br>
<br>
struct stat {<br>
dev_t st_dev;<br>
@@ -121,7 +94,32 @@ struct stat {<br>
long st_pad4[14];<br>
};<br>
<br>
-#endif /* __MIPS__ */<br>
+#else<br>
+<br>
+struct stat {<br>
+ unsigned short st_dev;<br>
+ unsigned short __pad1;<br>
+ unsigned long st_ino;<br>
+ unsigned short st_mode;<br>
+ unsigned short st_nlink;<br>
+ unsigned short st_uid;<br>
+ unsigned short st_gid;<br>
+ unsigned short st_rdev;<br>
+ unsigned short __pad2;<br>
+ unsigned long st_size;<br>
+ unsigned long st_blksize;<br>
+ unsigned long st_blocks;<br>
+ unsigned long st_atime;<br>
+ unsigned long __unused1;<br>
+ unsigned long st_mtime;<br>
+ unsigned long __unused2;<br>
+ unsigned long st_ctime;<br>
+ unsigned long __unused3;<br>
+ unsigned long __unused4;<br>
+ unsigned long __unused5;<br>
+};<br>
+<br>
+#endif /* __ARM__ */<br>
<br>
#ifdef __cplusplus<br>
}<br>
<font color="#888888">--<br>
1.7.5.4<br>
<br>
<br>
_______________________________________________<br>
barebox mailing list<br>
<a href="mailto:barebox@lists.infradead.org">barebox@lists.infradead.org</a><br>
<a href="http://lists.infradead.org/mailman/listinfo/barebox" target="_blank">http://lists.infradead.org/mailman/listinfo/barebox</a></font></blockquote><div><br></div><div><br></div><div> There is still only one patch :) </div>
</div><br>