diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-08-14 12:37:51 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-08-14 12:37:51 +1000 |
commit | 8047f968c48e620cc7135c6110b1af08e867a708 (patch) | |
tree | 164a3eea18eca375dce5967b2d8c22cb47423abd /virt | |
parent | de4071bb2da7925da56028e88d76906bf73a83f4 (diff) | |
parent | c6c153bb3fa0006618d4a392a7d9460036a4463d (diff) |
Merge branch 'quilt/rr'
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/kvm_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 1df4c0422f68..40420138dfff 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -738,8 +738,7 @@ static bool make_all_cpus_request(struct kvm *kvm, unsigned int req) bool called = true; struct kvm_vcpu *vcpu; - if (alloc_cpumask_var(&cpus, GFP_ATOMIC)) - cpumask_clear(cpus); + zalloc_cpumask_var(&cpus, GFP_ATOMIC); spin_lock(&kvm->requests_lock); me = smp_processor_id(); |