mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
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: d17799f9c1
("powerpc/rcpm: add RCPM driver")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
7a25d91214
commit
b081251ef6
@ -22,6 +22,7 @@
|
||||
#include <linux/fsl/guts.h>
|
||||
#include <asm/cputhreads.h>
|
||||
#include <asm/fsl_pm.h>
|
||||
#include <asm/smp.h>
|
||||
|
||||
static struct ccsr_rcpm_v1 __iomem *rcpm_v1_regs;
|
||||
static struct ccsr_rcpm_v2 __iomem *rcpm_v2_regs;
|
||||
|
Loading…
Reference in New Issue
Block a user