From: Ira W. Snyder Date: Thu, 9 Sep 2010 23:37:58 +0000 (-0700) Subject: arch/powerpc/include/asm/fsldma.h needs slab.h X-Git-Tag: v2.6.36-rc4~41 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=94131e174fedd9f3f9bb148cee4be12f2d46d68e;p=~shefty%2Frdma-dev.git arch/powerpc/include/asm/fsldma.h needs slab.h 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 Cc: Dan Williams Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/powerpc/include/asm/fsldma.h b/arch/powerpc/include/asm/fsldma.h index a67aeed17d4..debc5ed96d6 100644 --- a/arch/powerpc/include/asm/fsldma.h +++ b/arch/powerpc/include/asm/fsldma.h @@ -11,6 +11,7 @@ #ifndef __ARCH_POWERPC_ASM_FSLDMA_H__ #define __ARCH_POWERPC_ASM_FSLDMA_H__ +#include #include /*