Commit 94131e174fedd9f3f9bb148cee4be12f2d46d68e

Authored by Ira W. Snyder
Committed by Linus Torvalds
1 parent 408929bed7

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 <iws@ovro.caltech.edu>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

arch/powerpc/include/asm/fsldma.h
... ... @@ -11,6 +11,7 @@
11 11 #ifndef __ARCH_POWERPC_ASM_FSLDMA_H__
12 12 #define __ARCH_POWERPC_ASM_FSLDMA_H__
13 13  
  14 +#include <linux/slab.h>
14 15 #include <linux/dmaengine.h>
15 16  
16 17 /*