VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: David Howells <dhowells@redhat.com> 2010-08-12 16:54:52 +0100 committer: Linus Torvalds <torvalds@linux-foundation.org> 2010-08-12 09:51:35 -0700 commit: 1490cf5f0cb07dd49cdab4bceb769d7f711d7ca6 parent: 019fca84e7c4b94817abc77df9081ba208fcc46a
Commit Summary:
MN10300: Don't try and #include <linux/slab.h> in lib/inflate.c from bootloader
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/lib/inflate.c b/lib/inflate.c
index 677b738c2204..013a76193481 100644
--- a/lib/inflate.c
+++ b/lib/inflate.c
@@ -103,7 +103,9 @@
       the two sets of lengths.
  */
 #include <linux/compiler.h>
+#ifdef NO_INFLATE_MALLOC
 #include <linux/slab.h>
+#endif
 
 #ifdef RCSID
 static char rcsid[] = "#Id: inflate.c,v 0.14 1993/06/10 13:27:04 jloup Exp #";