summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xpp/xpd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xpp/xpd.h b/xpp/xpd.h
index 4f19679..6debd03 100644
--- a/xpp/xpd.h
+++ b/xpp/xpd.h
@@ -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); \