Patchwork [1/5] fsldma: fix missing header include

login
register
mail settings
Submitter Ira Snyder
Date Sept. 8, 2010, 4:41 p.m.
Message ID <1283964082-30133-2-git-send-email-iws@ovro.caltech.edu>
Download mbox | patch
Permalink /patch/64171/
State Superseded
Delegated to: Kumar Gala
Headers show

Comments

Ira Snyder - Sept. 8, 2010, 4:41 p.m.
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.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
---
 arch/powerpc/include/asm/fsldma.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/powerpc/include/asm/fsldma.h b/arch/powerpc/include/asm/fsldma.h
index a67aeed..debc5ed 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 <linux/slab.h>
 #include <linux/dmaengine.h>
 
 /*