--- zzzz-none-000/linux-4.4.60/drivers/cpufreq/cpufreq.c 2017-04-08 07:53:53.000000000 +0000 +++ dragonfly-4020-701/linux-4.4.60/drivers/cpufreq/cpufreq.c 2018-11-08 13:36:17.000000000 +0000 @@ -389,6 +389,12 @@ if (likely(policy) && likely(policy->cpu == freqs->cpu)) policy->cur = freqs->new; break; + + case CPUFREQ_NOCHANGE: + srcu_notifier_call_chain( + &cpufreq_transition_notifier_list, + CPUFREQ_NOCHANGE, freqs); + break; } } @@ -400,7 +406,7 @@ * function. It is called twice on all CPU frequency changes that have * external effects. */ -static void cpufreq_notify_transition(struct cpufreq_policy *policy, +void cpufreq_notify_transition(struct cpufreq_policy *policy, struct cpufreq_freqs *freqs, unsigned int state) { for_each_cpu(freqs->cpu, policy->cpus)