From: Michael Ellerman Date: Tue, 15 Mar 2016 09:30:20 +0000 (+1100) Subject: powerpc/rcpm: Fix build break when SMP=n X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b081251ef6d6d7cf06448deeb3d9860b636358f5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git powerpc/rcpm: Fix build break when SMP=n Add an include of asm/smp.h to fix a build break when SMP=n: arch/powerpc/sysdev/fsl_rcpm.c:32:2: error: implicit declaration of function 'get_hard_smp_processor_id' Fixes: d17799f9c10e ("powerpc/rcpm: add RCPM driver") Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/sysdev/fsl_rcpm.c b/arch/powerpc/sysdev/fsl_rcpm.c index 656d9ca057e5..9259a94f70e1 100644 --- a/arch/powerpc/sysdev/fsl_rcpm.c +++ b/arch/powerpc/sysdev/fsl_rcpm.c @@ -22,6 +22,7 @@ #include #include #include +#include static struct ccsr_rcpm_v1 __iomem *rcpm_v1_regs; static struct ccsr_rcpm_v2 __iomem *rcpm_v2_regs;