mtd/include/linux/mtd compatmac.h,1.42,1.43

David Woodhouse dwmw2 at infradead.org
Tue Jan 14 08:55:52 EST 2003


Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv1371

Modified Files:
	compatmac.h 
Log Message:
Make get_seconds() work in earlier kernels

Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- compatmac.h	15 Nov 2002 13:15:50 -0000	1.42
+++ compatmac.h	14 Jan 2003 13:55:49 -0000	1.43
@@ -568,4 +568,7 @@
 #define PageUptodate(x) Page_Uptodate(x)
 #endif
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,48)
+#define get_seconds() CURRENT_TIME
+#endif
 #endif /* __LINUX_MTD_COMPATMAC_H__ */





More information about the linux-mtd-cvs mailing list