2.2 linux/malloc.h just includes linux/slab.h, this file was causing the kmalloc
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 3 Dec 2001 20:54:22 +0000 (20:54 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 3 Dec 2001 20:54:22 +0000 (20:54 +0000)
versioning to get messed up somehow (linux 2.2.19).

include/linux/slab.h

index ec2453a4da98ddc15bdd4ecfac9a0047a1edc6d6..8010435c75f610529b2d18fb62bfa3cf70c2fb89 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <linux/version.h>
 
-#if LINUX_VERSION_CODE < 0x020400
+#if LINUX_VERSION_CODE < 0x020200
 #include <linux/malloc.h>
 #else
 #include_next <linux/slab.h>