[dahdi-commits] sruffell: linux/trunk r6550 - /linux/trunk/drivers/dahdi/wctc4xxp/base.c

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Fri May 1 11:42:38 CDT 2009


Author: sruffell
Date: Fri May  1 11:42:35 2009
New Revision: 6550

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6550
Log:
wctc4xxp: Defined gfp_t for earlier kernels.

This definition was just copied from the xpp driver.
DAHDI-253

Modified:
    linux/trunk/drivers/dahdi/wctc4xxp/base.c

Modified: linux/trunk/drivers/dahdi/wctc4xxp/base.c
URL: http://svn.digium.com/svn-view/dahdi/linux/trunk/drivers/dahdi/wctc4xxp/base.c?view=diff&rev=6550&r1=6549&r2=6550
==============================================================================
--- linux/trunk/drivers/dahdi/wctc4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctc4xxp/base.c Fri May  1 11:42:35 2009
@@ -88,6 +88,13 @@
 		}                              \
 	}                                      \
 } while (0)
+#endif
+#endif
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
+/* also added in RHEL kernels with the OpenInfiniband backport: */
+#if LINUX_VERSION_CODE != KERNEL_VERSION(2,6,9) || !defined(DEFINE_SPINLOCK)
+typedef	unsigned gfp_t;		/* Added in 2.6.14 */
 #endif
 #endif
 




More information about the dahdi-commits mailing list