diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-03-05 16:14:11 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-03-05 16:14:11 +0000 |
commit | 5e5f0cdcc011a9926dc139c296849918af0b2742 (patch) | |
tree | a18d9e6bb388cf1da0ca8384deedae37f6a02c94 /xpp/xpd.h | |
parent | 8ccf972bba2a4f54a9affb8223b330aa3e036d07 (diff) |
Found a proper "marker" for the gfp_t typedef. Now every 2.6.9 is supported.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2286 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xpd.h')
-rw-r--r-- | xpp/xpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |