summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/mpic_msgr.h
diff options
context:
space:
mode:
authorMingkai Hu <Mingkai.hu@freescale.com>2012-04-16 06:05:05 +0400
committerKumar Gala <galak@kernel.crashing.org>2012-04-19 23:55:56 +0400
commitbdce27c7f7bc7cf5c3a264bab9de056bd9cb0c9d (patch)
tree5422d2b3fd5685c473e8f4dce6e2f3c887b1aaa5 /arch/powerpc/include/asm/mpic_msgr.h
parenteda713e219c9a7d02b8263ab3fba44092e919b07 (diff)
downloadlinux-bdce27c7f7bc7cf5c3a264bab9de056bd9cb0c9d.tar.xz
powerpc/mpic_msgr: fix compile error when SMP disabled
In file included from arch/powerpc/sysdev/mpic_msgr.c:20:0: ~/arch/powerpc/include/asm/mpic_msgr.h: In function 'mpic_msgr_set_destination': ~/arch/powerpc/include/asm/mpic_msgr.h:117:2: error: implicit declaration of function 'get_hard_smp_processor_id' make[1]: *** [arch/powerpc/sysdev/mpic_msgr.o] Error 1 Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/mpic_msgr.h')
-rw-r--r--arch/powerpc/include/asm/mpic_msgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mpic_msgr.h b/arch/powerpc/include/asm/mpic_msgr.h
index 3ec37dc9003e..326d33ca55cd 100644
--- a/arch/powerpc/include/asm/mpic_msgr.h
+++ b/arch/powerpc/include/asm/mpic_msgr.h
@@ -13,6 +13,7 @@
#include <linux/types.h>
#include <linux/spinlock.h>
+#include <asm/smp.h>
struct mpic_msgr {
u32 __iomem *base;