aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpufreq/cpufreq_conservative.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c
index a152d2c46be7..037f6bf4543c 100644
--- a/drivers/cpufreq/cpufreq_conservative.c
+++ b/drivers/cpufreq/cpufreq_conservative.c
@@ -88,6 +88,8 @@ static struct dbs_tuners dbs_tuners_ins = {
88 .up_threshold = DEF_FREQUENCY_UP_THRESHOLD, 88 .up_threshold = DEF_FREQUENCY_UP_THRESHOLD,
89 .down_threshold = DEF_FREQUENCY_DOWN_THRESHOLD, 89 .down_threshold = DEF_FREQUENCY_DOWN_THRESHOLD,
90 .sampling_down_factor = DEF_SAMPLING_DOWN_FACTOR, 90 .sampling_down_factor = DEF_SAMPLING_DOWN_FACTOR,
91 .ignore_nice = 0,
92 .freq_step = 5,
91}; 93};
92 94
93static inline unsigned int get_cpu_idle_time(unsigned int cpu) 95static inline unsigned int get_cpu_idle_time(unsigned int cpu)
@@ -490,8 +492,6 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy,
490 def_sampling_rate = MIN_STAT_SAMPLING_RATE; 492 def_sampling_rate = MIN_STAT_SAMPLING_RATE;
491 493
492 dbs_tuners_ins.sampling_rate = def_sampling_rate; 494 dbs_tuners_ins.sampling_rate = def_sampling_rate;
493 dbs_tuners_ins.ignore_nice = 0;
494 dbs_tuners_ins.freq_step = 5;
495 495
496 dbs_timer_init(); 496 dbs_timer_init();
497 } 497 }