mirror of
https://github.com/proski/madwifi
synced 2025-02-16 15:24:18 +03:00
Define gfp_t before it's used
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3597 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
380c55d9c9
commit
75beeeb876
@ -58,6 +58,10 @@
|
|||||||
#define __force
|
#define __force
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
|
||||||
|
typedef int gfp_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,3)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,3)
|
||||||
static inline void *kzalloc(size_t size, gfp_t flags)
|
static inline void *kzalloc(size_t size, gfp_t flags)
|
||||||
{
|
{
|
||||||
@ -154,10 +158,6 @@ static inline void *kzalloc(size_t size, gfp_t flags)
|
|||||||
#define __iomem
|
#define __iomem
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
|
|
||||||
typedef int 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…
x
Reference in New Issue
Block a user