[svn-commits] tzafrir: trunk r2289 - in /trunk: ./ xpp/xpd.h
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon Mar 5 10:21:05 MST 2007
Author: tzafrir
Date: Mon Mar 5 11:21:05 2007
New Revision: 2289
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2289
Log:
Found a proper "marker" for the gfp_t typedef. Now every 2.6.9 is supported.
r2286 | tzafrir | 2007-03-05 18:14:11 +0200 (Mon, 05 Mar 2007) | 2 lines
Modified:
trunk/ (props changed)
trunk/xpp/xpd.h
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/xpp/xpd.h
URL: http://svn.digium.com/view/zaptel/trunk/xpp/xpd.h?view=diff&rev=2289&r1=2288&r2=2289
==============================================================================
--- trunk/xpp/xpd.h (original)
+++ trunk/xpp/xpd.h Mon Mar 5 11:21:05 2007
@@ -46,8 +46,8 @@
#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)
+/* 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 svn-commits
mailing list