diff options
Diffstat (limited to 'arch/x86/kvm/ioapic.c')
-rw-r--r-- | arch/x86/kvm/ioapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/ioapic.c b/arch/x86/kvm/ioapic.c index 4e822ad363f3..1add1bc881e2 100644 --- a/arch/x86/kvm/ioapic.c +++ b/arch/x86/kvm/ioapic.c | |||
@@ -622,7 +622,7 @@ int kvm_ioapic_init(struct kvm *kvm) | |||
622 | struct kvm_ioapic *ioapic; | 622 | struct kvm_ioapic *ioapic; |
623 | int ret; | 623 | int ret; |
624 | 624 | ||
625 | ioapic = kzalloc(sizeof(struct kvm_ioapic), GFP_KERNEL); | 625 | ioapic = kzalloc(sizeof(struct kvm_ioapic), GFP_KERNEL_ACCOUNT); |
626 | if (!ioapic) | 626 | if (!ioapic) |
627 | return -ENOMEM; | 627 | return -ENOMEM; |
628 | spin_lock_init(&ioapic->lock); | 628 | spin_lock_init(&ioapic->lock); |