projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pci-v4.8-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[cascardo/linux.git]
/
arch
/
arm
/
mach-shmobile
/
platsmp.c
diff --git
a/arch/arm/mach-shmobile/platsmp.c
b/arch/arm/mach-shmobile/platsmp.c
index
f3dba6f
..
02e21bc
100644
(file)
--- a/
arch/arm/mach-shmobile/platsmp.c
+++ b/
arch/arm/mach-shmobile/platsmp.c
@@
-40,5
+40,8
@@
bool shmobile_smp_cpu_can_disable(unsigned int cpu)
bool __init shmobile_smp_init_fallback_ops(void)
{
/* fallback on PSCI/smp_ops if no other DT based method is detected */
+ if (!IS_ENABLED(CONFIG_SMP))
+ return false;
+
return platform_can_secondary_boot() ? true : false;
}