mtd/include/linux/mtd compatmac.h,1.37,1.38
David Woodhouse
dwmw2 at infradead.org
Tue Jul 23 13:14:34 EDT 2002
- Previous message: mtd/fs/jffs2 dir.c,1.70,1.71 erase.c,1.38,1.39 file.c,1.74,1.75 super.c,1.72,1.73 symlink.c,1.10,1.11
- Next message: mtd/fs/jffs2 scan.c,1.78,1.79
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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__ */
- Previous message: mtd/fs/jffs2 dir.c,1.70,1.71 erase.c,1.38,1.39 file.c,1.74,1.75 super.c,1.72,1.73 symlink.c,1.10,1.11
- Next message: mtd/fs/jffs2 scan.c,1.78,1.79
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list