提交 b081251e 编写于 作者: M Michael Ellerman

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: d17799f9 ("powerpc/rcpm: add RCPM driver")
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 7a25d912
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <linux/fsl/guts.h> #include <linux/fsl/guts.h>
#include <asm/cputhreads.h> #include <asm/cputhreads.h>
#include <asm/fsl_pm.h> #include <asm/fsl_pm.h>
#include <asm/smp.h>
static struct ccsr_rcpm_v1 __iomem *rcpm_v1_regs; static struct ccsr_rcpm_v1 __iomem *rcpm_v1_regs;
static struct ccsr_rcpm_v2 __iomem *rcpm_v2_regs; static struct ccsr_rcpm_v2 __iomem *rcpm_v2_regs;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册