]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/xen-cpufreq.patch
Fix core38 updater replace openvpn config.
[people/pmueller/ipfire-2.x.git] / src / patches / xen-cpufreq.patch
CommitLineData
00e5a55c
BS
1--- a/xen/arch/x86/platform_hypercall.c 2009-07-23 07:26:18.000000000 +0000
2+++ b/xen/arch/x86/platform_hypercall.c 2009-07-23 07:28:30.000000000 +0000
3@@ -313,7 +313,6 @@
4 {
5 uint32_t cpu;
6 uint64_t idletime, now = NOW();
7- struct vcpu *v;
8 struct xenctl_cpumap ctlmap;
9 cpumask_t cpumap;
10 XEN_GUEST_HANDLE(uint8) cpumap_bitmap;
11@@ -336,7 +335,7 @@
12
13 for_each_cpu_mask ( cpu, cpumap )
14 {
15- if ( (v = idle_vcpu[cpu]) != NULL )
16+ if ( !idle_vcpu[cpu] )
17 cpu_clear(cpu, cpumap);
18 idletime = get_cpu_idle_time(cpu);
19