[svn-commits] tzafrir: branch 1.2 r1721 - /branches/1.2/xpp/xpd.h

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Dec 18 06:46:43 MST 2006


Author: tzafrir
Date: Mon Dec 18 07:46:42 2006
New Revision: 1721

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1721
Log:
Assume every 2.6.9 kernel is a later RHEL4 kernel, which backported
the gfp_t typedef. Either way we break some systems).

r2938:  diego | 2006-12-17 14:22:16 +0200

Modified:
    branches/1.2/xpp/xpd.h

Modified: branches/1.2/xpp/xpd.h
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/xpd.h?view=diff&rev=1721&r1=1720&r2=1721
==============================================================================
--- branches/1.2/xpp/xpd.h (original)
+++ branches/1.2/xpp/xpd.h Mon Dec 18 07:46:42 2006
@@ -38,7 +38,10 @@
 
 #ifdef __KERNEL__
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
+/* pretend every 2.6.9 is later RHEL */
+#if LINUX_VERSION_CODE != KERNEL_VERSION(2,6,9) 
 typedef	unsigned gfp_t;		/* Added in 2.6.14 */
+#endif
 #endif
 #define	DEF_PARM(type,name,init,desc)	\
 	type name = init;	\



More information about the svn-commits mailing list