X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fcpuidle%2Fcpuidle-exynos.c;h=b5f0a9cc8185c593688a9b9f75b0ec6547800da3;hb=cd4a799390a02f6265a5f34d87b828b3ffdb59ff;hp=0c06ea2f50bb906fe44727a534924371b2917c0e;hpb=b153f1d37a7d469501482bb3b38f398d4e778616;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/cpuidle/cpuidle-exynos.c b/drivers/cpuidle/cpuidle-exynos.c index 0c06ea2f50bb..b5f0a9cc8185 100644 --- a/drivers/cpuidle/cpuidle-exynos.c +++ b/drivers/cpuidle/cpuidle-exynos.c @@ -116,7 +116,8 @@ static int exynos_cpuidle_probe(struct platform_device *pdev) { int ret; - if (of_machine_is_compatible("samsung,exynos4210")) { + if (IS_ENABLED(CONFIG_SMP) && + of_machine_is_compatible("samsung,exynos4210")) { exynos_cpuidle_pdata = pdev->dev.platform_data; ret = cpuidle_register(&exynos_coupled_idle_driver,