mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
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:
parent
aa7fddfba7
commit
f30e5aa80b
@ -131,6 +131,10 @@
|
|||||||
#define __iomem
|
#define __iomem
|
||||||
#endif
|
#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)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
|
||||||
static inline int timeval_compare(struct timeval *lhs, struct timeval *rhs)
|
static inline int timeval_compare(struct timeval *lhs, struct timeval *rhs)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user