summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/cpufreq/cpu-boost.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpu-boost.c b/drivers/cpufreq/cpu-boost.c
index 5a934122277b..617239cbfdea 100644
--- a/drivers/cpufreq/cpu-boost.c
+++ b/drivers/cpufreq/cpu-boost.c
@@ -212,6 +212,9 @@ static int boost_migration_notify(struct notifier_block *nb,
return NOTIFY_OK;
}
+ if (!load_based_syncs && (mnd->src_cpu == mnd->dest_cpu))
+ return NOTIFY_OK;
+
if (!boost_ms)
return NOTIFY_OK;