[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1343028920-4712-1-git-send-email-amit.daniel@samsung.com>
Date: Mon, 23 Jul 2012 13:05:20 +0530
From: Amit Daniel Kachhap <amit.daniel@...sung.com>
To: cpufreq@...r.kernel.org
Cc: rjw@...k.pl, linux-pm@...r.kernel.org, amit.kachhap@...aro.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] [CPUFREQ] conservative: Initialise the cpu field of the this_dbs_info
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@...sung.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists