|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] xenpm: remove wrong and pointless "current" indicato
Using the CPU number to compare with an index into an array containing
only a seubset of CPUs isn't valid. And indicator isn't necessary here
at all since the CPU number being dealt with gets printed right before
this line.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
--- 2010-05-04.orig/tools/misc/xenpm.c 2010-05-06 14:52:45.000000000 +0200
+++ 2010-05-04/tools/misc/xenpm.c 2010-05-06 13:37:30.000000000 +0200
@@ -499,10 +499,7 @@ static void print_cpufreq_para(int cpuid
printf("affected_cpus :");
for ( i = 0; i < p_cpufreq->cpu_num; i++ )
- if ( i == cpuid )
- printf(" *%d", p_cpufreq->affected_cpus[i]);
- else
- printf(" %d", p_cpufreq->affected_cpus[i]);
+ printf(" %d", p_cpufreq->affected_cpus[i]);
printf("\n");
printf("cpuinfo frequency : max [%u] min [%u] cur [%u]\n",
xenpm-strip-cpufreq-marker.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] xenpm: remove wrong and pointless "current" indicator,
Jan Beulich <=
|
|
|
|
|