mtd/include/linux/mtd compatmac.h,1.77,1.78

gleixner at infradead.org gleixner at infradead.org
Tue Jul 5 10:14:22 EDT 2005


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

Modified Files:
	compatmac.h 
Log Message:
Flip order of defines to make it compile with elder kernel versions

Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- compatmac.h	1 Jul 2005 08:36:27 -0000	1.77
+++ compatmac.h	5 Jul 2005 14:14:18 -0000	1.78
@@ -197,10 +197,6 @@
 #define __iomem
 #endif
 
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,12)
-#define try_to_freeze() try_to_freeze(0)
-#endif
-
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11)
 #define CURRENT_TIME_SEC ((struct timespec) { xtime.tv_sec, 0 })
 #include <linux/sched.h>
@@ -216,6 +212,7 @@
 #endif
 
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,12)
+#define try_to_freeze() try_to_freeze(0)
 #endif
 
 #ifndef list_for_each_entry_safe





More information about the linux-mtd-cvs mailing list