summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-12-12 00:02:26 +0000
committerwdenk <wdenk>2003-12-12 00:02:26 +0000
commit5c745d2613cddf5d029a163a95584e770496c7e4 (patch)
tree437f0363f180b495f8744eec67a864ef39ebb76b /include/linux
parent50015ab3e1691e49e4267a4799864410fc49a9e8 (diff)
downloadu-boot-imx-5c745d2613cddf5d029a163a95584e770496c7e4.zip
u-boot-imx-5c745d2613cddf5d029a163a95584e770496c7e4.tar.gz
u-boot-imx-5c745d2613cddf5d029a163a95584e770496c7e4.tar.bz2
Add JFFS2 support for INCA-IP board
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/stat.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/linux/stat.h b/include/linux/stat.h
index 13899c9..63a96f1 100644
--- a/include/linux/stat.h
+++ b/include/linux/stat.h
@@ -94,6 +94,37 @@ struct stat {
#endif /* __ARM__ */
+#if defined (__MIPS__)
+
+struct stat {
+ dev_t st_dev;
+ long st_pad1[3];
+ ino_t st_ino;
+ mode_t st_mode;
+ nlink_t st_nlink;
+ uid_t st_uid;
+ gid_t st_gid;
+ dev_t st_rdev;
+ long st_pad2[2];
+ off_t st_size;
+ long st_pad3;
+ /*
+ * Actually this should be timestruc_t st_atime, st_mtime and st_ctime
+ * but we don't have it under Linux.
+ */
+ time_t st_atime;
+ long reserved0;
+ time_t st_mtime;
+ long reserved1;
+ time_t st_ctime;
+ long reserved2;
+ long st_blksize;
+ long st_blocks;
+ long st_pad4[14];
+};
+
+#endif /* __MIPS__ */
+
#ifdef __cplusplus
}
#endif