From: mtaylor Date: Thu, 22 Nov 2007 04:43:06 +0000 (+0000) Subject: Add gfp_t for pre 2.6.14 kernels in compat.h X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=f30e5aa80b16e3d321992a86d032e81d8ef9bb42;p=madwifi%2F.git Add gfp_t for pre 2.6.14 kernels in compat.h git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2921 0192ed92-7a03-0410-a25b-9323aeb14dbd --- diff --git a/include/compat.h b/include/compat.h index 53567bd..649cf2a 100644 --- a/include/compat.h +++ b/include/compat.h @@ -131,6 +131,10 @@ #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) {