mtd/include/linux/mtd compatmac.h,1.72,1.73

Artem Bityuckiy dedekind at infradead.org
Tue Mar 29 10:26:21 EST 2005


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

Modified Files:
	compatmac.h 
Log Message:
Add the try_to_freeze() workaround for < 2.6.11 kernels


Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- compatmac.h	18 Mar 2005 22:42:24 -0000	1.72
+++ compatmac.h	29 Mar 2005 15:26:17 -0000	1.73
@@ -199,6 +199,7 @@
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11)
 #define CURRENT_TIME_SEC ((struct timespec) { xtime.tv_sec, 0 })
+#define try_to_freeze(x)	0
 #endif
 
 #ifndef list_for_each_entry_safe





More information about the linux-mtd-cvs mailing list