diff options
Diffstat (limited to 'virt/kvm/kvm_main.c')
-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 897bff3b7df9..034a798b0431 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) | |||
738 | bool called = true; | 738 | bool called = true; |
739 | struct kvm_vcpu *vcpu; | 739 | struct kvm_vcpu *vcpu; |
740 | 740 | ||
741 | if (alloc_cpumask_var(&cpus, GFP_ATOMIC)) | 741 | zalloc_cpumask_var(&cpus, GFP_ATOMIC); |
742 | cpumask_clear(cpus); | ||
743 | 742 | ||
744 | spin_lock(&kvm->requests_lock); | 743 | spin_lock(&kvm->requests_lock); |
745 | me = smp_processor_id(); | 744 | me = smp_processor_id(); |