diff options
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r-- | drivers/kvm/kvm_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index 3946025f3d37..7335435f528e 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c | |||
@@ -1449,7 +1449,8 @@ int kvm_init(void *opaque, unsigned int vcpu_size, | |||
1449 | 1449 | ||
1450 | /* A kmem cache lets us meet the alignment requirements of fx_save. */ | 1450 | /* A kmem cache lets us meet the alignment requirements of fx_save. */ |
1451 | kvm_vcpu_cache = kmem_cache_create("kvm_vcpu", vcpu_size, | 1451 | kvm_vcpu_cache = kmem_cache_create("kvm_vcpu", vcpu_size, |
1452 | __alignof__(struct kvm_vcpu), 0, 0); | 1452 | __alignof__(struct kvm_vcpu), |
1453 | 0, NULL); | ||
1453 | if (!kvm_vcpu_cache) { | 1454 | if (!kvm_vcpu_cache) { |
1454 | r = -ENOMEM; | 1455 | r = -ENOMEM; |
1455 | goto out_free_4; | 1456 | goto out_free_4; |