mtd/include/linux rbtree.h,1.2,1.3
David Woodhouse
dwmw2 at infradead.org
Tue Jan 14 08:56:08 EST 2003
- Previous message: mtd/include/linux/mtd compatmac.h,1.42,1.43
- Next message: mtd/fs/jffs2 dir.c,1.73,1.74 erase.c,1.46,1.47 file.c,1.81,1.82 fs.c,1.20,1.21 gc.c,1.89,1.90 nodelist.c,1.71,1.72 nodemgmt.c,1.87,1.88 os-linux.h,1.21,1.22 read.c,1.30,1.31 readinode.c,1.96,1.97 scan.c,1.96,1.97 super.c,1.74,1.75 wbuf.c,1.21,1.22 write.c,1.62,1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/include/linux
In directory phoenix.infradead.org:/tmp/cvs-serv1404
Modified Files:
rbtree.h
Log Message:
Make rbtree work in later kernels
Index: rbtree.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/rbtree.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rbtree.h 26 Nov 2002 22:28:22 -0000 1.2
+++ rbtree.h 14 Jan 2003 13:56:05 -0000 1.3
@@ -8,14 +8,14 @@
#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,40)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,40)
+#include_next <linux/rbtree.h>
+#else
#define rb_node_s rb_node
#define rb_root_s rb_root
-#endif
#include <linux/rbtree-24.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,40)
/* Find logical next and previous nodes in a tree */
extern struct rb_node *rb_next(struct rb_node *);
extern struct rb_node *rb_prev(struct rb_node *);
- Previous message: mtd/include/linux/mtd compatmac.h,1.42,1.43
- Next message: mtd/fs/jffs2 dir.c,1.73,1.74 erase.c,1.46,1.47 file.c,1.81,1.82 fs.c,1.20,1.21 gc.c,1.89,1.90 nodelist.c,1.71,1.72 nodemgmt.c,1.87,1.88 os-linux.h,1.21,1.22 read.c,1.30,1.31 readinode.c,1.96,1.97 scan.c,1.96,1.97 super.c,1.74,1.75 wbuf.c,1.21,1.22 write.c,1.62,1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list