sh: Add support stat structure and stat.h
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 27 Mar 2008 06:44:12 +0000 (15:44 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Fri, 28 Mar 2008 05:16:14 +0000 (14:16 +0900)
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
include/linux/stat.h

index 37f2924..2ce1c25 100644 (file)
@@ -126,7 +126,7 @@ struct stat {
 
 #endif /* __MIPS__ */
 
-#if defined(__AVR32__)
+#if defined(__AVR32__) || defined(__SH__)
 
 struct stat {
        unsigned long st_dev;
@@ -149,7 +149,7 @@ struct stat {
        unsigned long  __unused5;
 };
 
-#endif /* __AVR32__ */
+#endif /* __AVR32__ || __SH__ */
 
 #ifdef __cplusplus
 }