diff options
author | Scott Wood <scottwood@freescale.com> | 2012-08-22 11:35:47 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-08-24 06:26:04 -0400 |
commit | 46c5c59e6902855b61a31be1b8e26bfffcae1e07 (patch) | |
tree | c613c44f0d6bac9f70937edc31a6bf1211134617 /arch/powerpc | |
parent | 6d9c00c67b4768105e8ae3d213484095c744eea8 (diff) |
powerpc/mpic_msgr: Add missing includes
Add several #includes that mpic_msgr relies on being pulled implicitly,
which only happens on certain configs.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Meador Inge <meador_inge@mentor.com>
Cc: Jia Hongtao <B38951@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/mpic_msgr.h | 1 | ||||
-rw-r--r-- | arch/powerpc/sysdev/mpic_msgr.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mpic_msgr.h b/arch/powerpc/include/asm/mpic_msgr.h index 326d33ca55cd..d4f471fb1031 100644 --- a/arch/powerpc/include/asm/mpic_msgr.h +++ b/arch/powerpc/include/asm/mpic_msgr.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
15 | #include <linux/spinlock.h> | 15 | #include <linux/spinlock.h> |
16 | #include <asm/smp.h> | 16 | #include <asm/smp.h> |
17 | #include <asm/io.h> | ||
17 | 18 | ||
18 | struct mpic_msgr { | 19 | struct mpic_msgr { |
19 | u32 __iomem *base; | 20 | u32 __iomem *base; |
diff --git a/arch/powerpc/sysdev/mpic_msgr.c b/arch/powerpc/sysdev/mpic_msgr.c index 483d8fa72e8b..e961f8c4a8f0 100644 --- a/arch/powerpc/sysdev/mpic_msgr.c +++ b/arch/powerpc/sysdev/mpic_msgr.c | |||
@@ -14,6 +14,9 @@ | |||
14 | #include <linux/list.h> | 14 | #include <linux/list.h> |
15 | #include <linux/of_platform.h> | 15 | #include <linux/of_platform.h> |
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/err.h> | ||
18 | #include <linux/export.h> | ||
19 | #include <linux/slab.h> | ||
17 | #include <asm/prom.h> | 20 | #include <asm/prom.h> |
18 | #include <asm/hw_irq.h> | 21 | #include <asm/hw_irq.h> |
19 | #include <asm/ppc-pci.h> | 22 | #include <asm/ppc-pci.h> |