From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Date: Thu, 27 Mar 2008 06:44:12 +0000 (+0900)
Subject: sh: Add support stat structure and stat.h
X-Git-Tag: v2025.01-rc5-pxa1908~22320^2
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=280df59a8d62c6e74c281b1cb7e2052df4d6cb00;p=u-boot.git

sh: Add support stat structure and stat.h

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---

diff --git a/include/linux/stat.h b/include/linux/stat.h
index 37f2924df1..2ce1c25ac3 100644
--- a/include/linux/stat.h
+++ b/include/linux/stat.h
@@ -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
 }