lkml.org 
[lkml]   [2012]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 06/13] HW-latency: cycle through all online cpus to re-test cpufreq
Date
Fix a typo to enable cycling through all online cpus to get cpufreq
sample from all cpus sequentially.

Signed-off-by: Luming Yu <luming.yu@intel.com>
---
drivers/misc/hw_latency_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/hw_latency_test.c b/drivers/misc/hw_latency_test.c
index 256b1c0..78436da 100644
--- a/drivers/misc/hw_latency_test.c
+++ b/drivers/misc/hw_latency_test.c
@@ -297,7 +297,7 @@ static int kthread_fn(void *unused)
for_each_cpu(cpu, cpu_online_mask) {
cpumask_clear(testing_cpu_mask);
cpumask_set_cpu(cpu, testing_cpu_mask);
- err = stop_machine(get_sample, unused, NULL);
+ err = stop_machine(get_sample, unused, testing_cpu_mask);
if (err)
break;
}
--
1.7.12.1


\
 
 \ /
  Last update: 2012-11-04 14:42    [W:0.077 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site