]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
powerpc/mpic_msgr: fix compile error when SMP disabled
authorMingkai Hu <Mingkai.hu@freescale.com>
Mon, 16 Apr 2012 02:05:05 +0000 (10:05 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 19 Apr 2012 19:55:56 +0000 (14:55 -0500)
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>
arch/powerpc/include/asm/mpic_msgr.h

index 3ec37dc9003e2575ee7170c4786904ab0ac6ee95..326d33ca55cdc33e8b3cb112f0fefb8117bab3af 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <linux/types.h>
 #include <linux/spinlock.h>
+#include <asm/smp.h>
 
 struct mpic_msgr {
        u32 __iomem *base;