diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-12-18 13:58:51 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-12-18 13:58:51 +0000 |
commit | a7c2a68ec23647ec46e55d2c8202685dfe9ced86 (patch) | |
tree | db3b08905a67c03790da1c7fca9a8f0533f99158 /xpp/xpd.h | |
parent | f823ce0e18068ad478473cd595c64d2a9e078273 (diff) |
r1721@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
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1726 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xpd.h')
-rw-r--r-- | xpp/xpd.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -38,8 +38,11 @@ #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; \ module_param(name, type, 0600); \ |