Switch back to plain old int for gfp_t definition for pre 2.6.14...
authormtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Thu, 22 Nov 2007 04:46:27 +0000 (04:46 +0000)
committermtaylor <mtaylor@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Thu, 22 Nov 2007 04:46:27 +0000 (04:46 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2923 0192ed92-7a03-0410-a25b-9323aeb14dbd

include/compat.h

index 649cf2ae1f8702d9424af05c1294f2f27371a259..788e38badde1059a192360a6aedb5d307784f6b3 100644 (file)
 #endif
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
-typedef unsigned __nocast gfp_t;
+typedef int gfp_t;
 #endif
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)