mtd/include/linux/mtd compatmac.h,1.44,1.45

David Woodhouse dwmw2 at infradead.org
Fri Jan 24 10:51:00 EST 2003


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

Modified Files:
	compatmac.h 
Log Message:
rq_data_dir exists in 2.4.21


Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- compatmac.h	23 Jan 2003 11:09:19 -0000	1.44
+++ compatmac.h	24 Jan 2003 15:50:57 -0000	1.45
@@ -523,9 +523,11 @@
 #define set_user_nice(tsk, n) do { (tsk)->nice = n; } while(0)
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
-
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,21)
 #define rq_data_dir(x)	((x)->cmd)
+#endif
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
 
 #define IS_REQ_CMD(req) (1)
 





More information about the linux-mtd-cvs mailing list