mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] [CPUFREQ] conservative: Initialise the cpu field of the this_dbs_info
@ 2012-07-23  7:35 Amit Daniel Kachhap
  2012-07-23 10:23 ` Rafael J. Wysocki
  0 siblings, 1 reply; 6+ messages in thread
From: Amit Daniel Kachhap @ 2012-07-23  7:35 UTC (permalink / raw)
  To: cpufreq; +Cc: rjw, linux-pm, amit.kachhap, linux-kernel

This patch initialises the cpu field of this_dbs_info structure. This
change is similar to existing ondemand governor.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
---
 drivers/cpufreq/cpufreq_conservative.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c
index 235a340..a1563d7 100644
--- a/drivers/cpufreq/cpufreq_conservative.c
+++ b/drivers/cpufreq/cpufreq_conservative.c
@@ -504,6 +504,7 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy,
 				j_dbs_info->prev_cpu_nice =
 						kcpustat_cpu(j).cpustat[CPUTIME_NICE];
 		}
+		this_dbs_info->cpu = cpu;
 		this_dbs_info->down_skip = 0;
 		this_dbs_info->requested_freq = policy->cur;
 
-- 
1.7.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-07 22:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-23  7:35 [PATCH] [CPUFREQ] conservative: Initialise the cpu field of the this_dbs_info Amit Daniel Kachhap
2012-07-23 10:23 ` Rafael J. Wysocki
     [not found]   ` <CAK44p23wcPmK1c7PvobfuaFFaQ9FNDax9J-3iipgvEOCM5gWGQ@mail.gmail.com>
2012-07-23 18:55     ` Rafael J. Wysocki
2012-07-24  8:24       ` amit daniel kachhap
2012-07-24  9:26       ` [RESEND PATCH] [CPUFREQ] conservative: Initialise the cpu field during governor start Amit Daniel Kachhap
2012-08-07 22:22         ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®