diff options
| -rw-r--r-- | drivers/cpufreq/cpufreq_governor.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c index 464587697561..7b839a8db2a7 100644 --- a/drivers/cpufreq/cpufreq_governor.c +++ b/drivers/cpufreq/cpufreq_governor.c | |||
| @@ -25,7 +25,6 @@ | |||
| 25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
| 26 | #include <linux/types.h> | 26 | #include <linux/types.h> |
| 27 | #include <linux/workqueue.h> | 27 | #include <linux/workqueue.h> |
| 28 | #include <linux/cpu.h> | ||
| 29 | 28 | ||
| 30 | #include "cpufreq_governor.h" | 29 | #include "cpufreq_governor.h" |
| 31 | 30 | ||
| @@ -137,10 +136,8 @@ void gov_queue_work(struct dbs_data *dbs_data, struct cpufreq_policy *policy, | |||
| 137 | if (!all_cpus) { | 136 | if (!all_cpus) { |
| 138 | __gov_queue_work(smp_processor_id(), dbs_data, delay); | 137 | __gov_queue_work(smp_processor_id(), dbs_data, delay); |
| 139 | } else { | 138 | } else { |
| 140 | get_online_cpus(); | ||
| 141 | for_each_cpu(i, policy->cpus) | 139 | for_each_cpu(i, policy->cpus) |
| 142 | __gov_queue_work(i, dbs_data, delay); | 140 | __gov_queue_work(i, dbs_data, delay); |
| 143 | put_online_cpus(); | ||
| 144 | } | 141 | } |
| 145 | } | 142 | } |
| 146 | EXPORT_SYMBOL_GPL(gov_queue_work); | 143 | EXPORT_SYMBOL_GPL(gov_queue_work); |
