projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a25d91
)
powerpc/rcpm: Fix build break when SMP=n
author
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 15 Mar 2016 09:30:20 +0000
(20:30 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 16 Mar 2016 04:22:32 +0000
(15:22 +1100)
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 <mpe@ellerman.id.au>
arch/powerpc/sysdev/fsl_rcpm.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/fsl_rcpm.c
b/arch/powerpc/sysdev/fsl_rcpm.c
index 656d9ca057e5c1641d5b64640f7e8452a78a3770..9259a94f70e1dcb026dc8171d5c314a81fda9162 100644
(file)
--- a/
arch/powerpc/sysdev/fsl_rcpm.c
+++ b/
arch/powerpc/sysdev/fsl_rcpm.c
@@
-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;