Changeset 3771

Show
Ignore:
Timestamp:
07/14/08 23:06:05 (6 months ago)
Author:
proski
Message:

kzalloc() appeared in Linux 2.6.14, not in Linux 2.6.3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • madwifi/trunk/include/compat.h

    r3751 r3771  
    124124#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) 
    125125typedef int gfp_t; 
    126 #endif 
    127  
    128 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,3) 
     126 
    129127static inline void *kzalloc(size_t size, gfp_t flags) 
    130128{