diff options
author | Ira W. Snyder <iws@ovro.caltech.edu> | 2010-09-10 01:37:58 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-10 03:57:24 +0200 |
commit | 94131e174fedd9f3f9bb148cee4be12f2d46d68e (patch) | |
tree | 25cfaeb07bd63f19f776bd34e8633e9f7f8a544e /arch/powerpc | |
parent | rtc: m41t80: do not use rtc_valid_tm in m41t80_rtc_read_alarm (diff) | |
download | linux-94131e174fedd9f3f9bb148cee4be12f2d46d68e.tar.xz linux-94131e174fedd9f3f9bb148cee4be12f2d46d68e.zip |
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/fsldma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsldma.h b/arch/powerpc/include/asm/fsldma.h index a67aeed17d40..debc5ed96d6e 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> /* |