mtd/fs/jffs2/ecos/src os-ecos.h,1.2,1.3

David Woodhouse dwmw2 at infradead.org
Tue Jan 14 09:51:01 EST 2003


Update of /home/cvs/mtd/fs/jffs2/ecos/src
In directory phoenix.infradead.org:/tmp/cvs-serv2615/ecos/src

Modified Files:
	os-ecos.h 
Log Message:
get_seconds() for eCos

Index: os-ecos.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/src/os-ecos.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- os-ecos.h	9 Jan 2003 13:53:44 -0000	1.2
+++ os-ecos.h	14 Jan 2003 14:50:58 -0000	1.3
@@ -42,6 +42,11 @@
 #define JFFS2_F_I_RDEV_MIN(f) (MINOR(to_kdev_t(OFNI_EDONI_2SFFJ(f)->i_rdev)))
 #define JFFS2_F_I_RDEV_MAJ(f) (MAJOR(to_kdev_t(OFNI_EDONI_2SFFJ(f)->i_rdev)))
 
+
+//#define ITIME(sec) (sec)
+//#define I_SEC(x) (x)
+#define get_seconds cyg_timestamp
+
 struct inode {
 	//struct list_head	i_hash;
 	//struct list_head	i_list;





More information about the linux-mtd-cvs mailing list