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
This commit is contained in:
mtaylor 2007-11-22 04:43:06 +00:00
parent aa7fddfba7
commit f30e5aa80b

View File

@ -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)
{