mtd/include/linux/mtd compatmac.h,1.68,1.69

Thayne Harbaugh tharbaugh at lnxi.com
Tue Nov 16 17:51:42 EST 2004


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

Modified Files:
	compatmac.h 
Log Message:
kvec wasn't available until 2.6.7

Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- compatmac.h	17 Sep 2004 22:00:30 -0000	1.68
+++ compatmac.h	16 Nov 2004 22:51:38 -0000	1.69
@@ -182,7 +182,7 @@
 	(type *)( (char *)__mptr - offsetof(type,member) );})
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,7)
 #define kvec iovec
 #define __user 
 #endif





More information about the linux-mtd-cvs mailing list