Project : madwifi
Revision : 2921
Author : mtaylor (Michael Taylor)
Date : 2007-11-22 05:43:06 +0100 (Thu, 22 Nov 2007)
Log Message :
Add gfp_t for pre 2.6.14 kernels in compat.h
Affected Files:
* madwifi/trunk/include/compat.h updated
Modified: madwifi/trunk/include/compat.h
===================================================================
--- madwifi/trunk/include/compat.h 2007-11-22 03:36:48 UTC (rev 2920)
+++ madwifi/trunk/include/compat.h 2007-11-22 04:43:06 UTC (rev 2921)
@@ -131,6 +131,10 @@
#define __iomem
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
+typedef unsigned __nocast gfp_t;
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
static inline int timeval_compare(struct timeval *lhs, struct timeval *rhs)
{
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
|