From 0844e78686d218992739aa1e4e0c5a9245fe8bca Mon Sep 17 00:00:00 2001 From: proski Date: Mon, 14 Jul 2008 21:06:05 +0000 Subject: [PATCH] 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 --- include/compat.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/compat.h b/include/compat.h index 9b81df8..a94019b 100644 --- a/include/compat.h +++ b/include/compat.h @@ -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);