summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-03-27 15:44:12 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-03-28 14:16:14 +0900
commit280df59a8d62c6e74c281b1cb7e2052df4d6cb00 (patch)
tree187e82a7cc1cd62fb2931b87e51a122ad95649e0
parent4be9eb789e72b845d6693cc36b70a0b3529b3f09 (diff)
downloadu-boot-imx-280df59a8d62c6e74c281b1cb7e2052df4d6cb00.zip
u-boot-imx-280df59a8d62c6e74c281b1cb7e2052df4d6cb00.tar.gz
u-boot-imx-280df59a8d62c6e74c281b1cb7e2052df4d6cb00.tar.bz2
sh: Add support stat structure and stat.h
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-rw-r--r--include/linux/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/stat.h b/include/linux/stat.h
index 37f2924..2ce1c25 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
}