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 37f2924df18881bf6569c21607cc9d19518f794a..2ce1c25ac309b79328a82053d4fb3477f51ad2a8 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
 }