Add gfp_t for pre 2.6.14 kernels in compat.h
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Thu, 22 Nov 2007 04:43:06 +0000 (04:43 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Thu, 22 Nov 2007 04:43:06 +0000 (04:43 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2921 0192ed92-7a03-0410-a25b-9323aeb14dbd

include/compat.h

index 53567bd9d946d0b6ce97904689ebaabba9cc4b35..649cf2ae1f8702d9424af05c1294f2f27371a259 100644 (file)
 #define __iomem
 #endif
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
+typedef unsigned __nocast gfp_t;
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
 static inline int timeval_compare(struct timeval *lhs, struct timeval *rhs)
 {