arch/powerpc/include/asm/fsldma.h needs slab.h
authorIra W. Snyder <[email protected]>
Thu, 9 Sep 2010 23:37:58 +0000 (16:37 -0700)
committerLinus Torvalds <[email protected]>
Fri, 10 Sep 2010 01:57:24 +0000 (18:57 -0700)
The slab.h header is required to use the kmalloc() family of functions.
Due to recent kernel changes, this header must be directly included by
code that calls into the memory allocator.

Without this patch, any code which includes this header fails to build.

Signed-off-by: Ira W. Snyder <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/powerpc/include/asm/fsldma.h

index a67aeed17d405fbc37e3a44a860c67a3a1dd9fcf..debc5ed96d6e087a2e241e47421f537a13bf1feb 100644 (file)
@@ -11,6 +11,7 @@
 #ifndef __ARCH_POWERPC_ASM_FSLDMA_H__
 #define __ARCH_POWERPC_ASM_FSLDMA_H__
 
+#include <linux/slab.h>
 #include <linux/dmaengine.h>
 
 /*