diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-09-05 09:01:26 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-09-05 09:01:26 +0200 |
commit | beb4e08e21ad964c11203a4ae6c7ba16a35df4f5 (patch) | |
tree | 8487a6c609dfdb42ddaea8688256bd3864806f77 /drivers/base | |
parent | 77c84dd1881d0f0176cb678d770bfbda26c54390 (diff) | |
parent | c27c38afd871f54b40bd40172cb4e23fba01113c (diff) | |
download | linux-beb4e08e21ad964c11203a4ae6c7ba16a35df4f5.tar.gz linux-beb4e08e21ad964c11203a4ae6c7ba16a35df4f5.tar.bz2 linux-beb4e08e21ad964c11203a4ae6c7ba16a35df4f5.zip |
Merge branch 'pm-cpufreq-qos'
* pm-cpufreq-qos:
Documentation: cpufreq: Update policy notifier documentation
cpufreq: Remove CPUFREQ_ADJUST and CPUFREQ_NOTIFY policy notifier events
ACPI: cpufreq: Switch to QoS requests instead of cpufreq notifier
video: pxafb: Remove cpufreq policy notifier
video: sa1100fb: Remove cpufreq policy notifier
arch_topology: Use CPUFREQ_CREATE_POLICY instead of CPUFREQ_NOTIFY
cpufreq: powerpc_cbe: Switch to QoS requests for freq limits
cpufreq: powerpc: macintosh: Switch to QoS requests for freq limits
thermal: cpu_cooling: Switch to QoS requests for freq limits
cpufreq: Add policy create/remove notifiers back
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/arch_topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c index 63c1e76739f1..8cab1f5a8e0c 100644 --- a/drivers/base/arch_topology.c +++ b/drivers/base/arch_topology.c @@ -174,7 +174,7 @@ init_cpu_capacity_callback(struct notifier_block *nb, if (!raw_capacity) return 0; - if (val != CPUFREQ_NOTIFY) + if (val != CPUFREQ_CREATE_POLICY) return 0; pr_debug("cpu_capacity: init cpu capacity for CPUs [%*pbl] (to_visit=%*pbl)\n", |