[svn-commits] tzafrir: trunk r1730 - in /trunk/xpp: ./ xpd.h

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Dec 18 07:03:05 MST 2006


Author: tzafrir
Date: Mon Dec 18 08:03:04 2006
New Revision: 1730

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1730
Log:
 r1726 at boole:  tzafrir | 2006-12-18 15:58:51 +0200
  r1721 at boole:  tzafrir | 2006-12-18 15:46:42 +0200
  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:
    trunk/xpp/   (props changed)
    trunk/xpp/xpd.h

Propchange: trunk/xpp/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Mon Dec 18 08:03:04 2006
@@ -1,5 +1,5 @@
 283159da-0705-0410-b60c-f2062b4bb6ad:/components/xpp-zaptel/branches/RELEASE-1.2.0/xpp:2933
 283159da-0705-0410-b60c-f2062b4bb6ad:/components/xpp-zaptel/trunk/xpp:2830
-f558416c-6c06-0410-9f27-dde2687782d0:/branches/1.2/xpp:1718
-f558416c-6c06-0410-9f27-dde2687782d0:/branches/1.4/xpp:1719
+f558416c-6c06-0410-9f27-dde2687782d0:/branches/1.2/xpp:1721
+f558416c-6c06-0410-9f27-dde2687782d0:/branches/1.4/xpp:1726
 f558416c-6c06-0410-9f27-dde2687782d0:/team/tzafrir/xpp_1.2/xpp:1554

Modified: trunk/xpp/xpd.h
URL: http://svn.digium.com/view/zaptel/trunk/xpp/xpd.h?view=diff&rev=1730&r1=1729&r2=1730
==============================================================================
--- trunk/xpp/xpd.h (original)
+++ trunk/xpp/xpd.h Mon Dec 18 08:03:04 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