Merge git://git.denx.de/u-boot-sunxi
[platform/kernel/u-boot.git] / include / linux / stat.h
index 37f2924..5eba633 100644 (file)
@@ -68,7 +68,7 @@ struct stat {
 #endif /* __PPC__ */
 
 #if defined (__ARM__) || defined (__I386__) || defined (__M68K__) || defined (__bfin__) ||\
-       defined (__microblaze__)
+       defined (__microblaze__) || defined (__nios2__)
 
 struct stat {
        unsigned short st_dev;
@@ -126,7 +126,7 @@ struct stat {
 
 #endif /* __MIPS__ */
 
-#if defined(__AVR32__)
+#if defined(__SH__) || defined(__XTENSA__)
 
 struct stat {
        unsigned long st_dev;
@@ -149,7 +149,7 @@ struct stat {
        unsigned long  __unused5;
 };
 
-#endif /* __AVR32__ */
+#endif /* __SH__  || __XTENSA__ */
 
 #ifdef __cplusplus
 }