KVM: use cpumask_var_t for cpus_hardware_enabled
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 7 Dec 2008 10:55:45 +0000 (20:55 +1030)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:45 +0000 (16:55 +0200)
commit7f59f492da722eb3551bbe1f8f4450a21896f05d
treeaf51214d804586dd17b3d65aba0e6687a274fb74
parent6ef7a1bc45f80fe0a263119d404688c596ea5031
KVM: use cpumask_var_t for cpus_hardware_enabled

This changes cpus_hardware_enabled from a cpumask_t to a cpumask_var_t:
equivalent for CONFIG_CPUMASKS_OFFSTACK=n, otherwise dynamically allocated.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c