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

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3771 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
proski 2008-07-14 21:06:05 +00:00
parent 9dec64f9a8
commit 0844e78686

View File

@ -123,9 +123,7 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
typedef int gfp_t;
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,3)
static inline void *kzalloc(size_t size, gfp_t flags)
{
void *p = kmalloc(size, flags);