From: Mingkai Hu Date: Mon, 16 Apr 2012 02:05:05 +0000 (+0800) Subject: powerpc/mpic_msgr: fix compile error when SMP disabled X-Git-Tag: v3.4-rc5~43^2~5^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdce27c7f7bc7cf5c3a264bab9de056bd9cb0c9d;p=profile%2Fcommon%2Fkernel-common.git 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 Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/include/asm/mpic_msgr.h b/arch/powerpc/include/asm/mpic_msgr.h index 3ec37dc..326d33c 100644 --- a/arch/powerpc/include/asm/mpic_msgr.h +++ b/arch/powerpc/include/asm/mpic_msgr.h @@ -13,6 +13,7 @@ #include #include +#include struct mpic_msgr { u32 __iomem *base;