mtd/include/linux/mtd compatmac.h,1.37,1.38

David Woodhouse dwmw2 at infradead.org
Tue Jul 23 13:14:34 EDT 2002


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

Modified Files:
	compatmac.h 
Log Message:
PageUptodate() / Page_Uptodate() compat for 2.5

Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- compatmac.h	17 Mar 2002 10:16:44 -0000	1.37
+++ compatmac.h	23 Jul 2002 17:14:32 -0000	1.38
@@ -512,7 +512,7 @@
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
 	/* Is this right? */
 #define set_user_nice(tsk, n) do { (tsk)->priority = 20-(n); } while(0) 
-#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,4,19)
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
 #define set_user_nice(tsk, n) do { (tsk)->nice = n; } while(0)
 #endif
 
@@ -555,6 +555,10 @@
 #else
 #define BLK_INC_USE_COUNT do {} while(0)
 #define BLK_DEC_USE_COUNT do {} while(0)
+#endif
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,12)
+#define PageUptodate(x) Page_Uptodate(x)
 #endif
 
 #endif /* __LINUX_MTD_COMPATMAC_H__ */





More information about the linux-mtd-cvs mailing list