aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-09-05 09:01:26 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-09-05 09:01:26 +0200
commitbeb4e08e21ad964c11203a4ae6c7ba16a35df4f5 (patch)
tree8487a6c609dfdb42ddaea8688256bd3864806f77 /drivers/base
parentsched/cpufreq: Align trace event behavior of fast switching (diff)
parentDocumentation: cpufreq: Update policy notifier documentation (diff)
downloadlinux-dev-beb4e08e21ad964c11203a4ae6c7ba16a35df4f5.tar.xz
linux-dev-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.c2
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",