diff options
Diffstat (limited to 'drivers/kvm/ioapic.c')
-rw-r--r-- | drivers/kvm/ioapic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/ioapic.c b/drivers/kvm/ioapic.c index 04910368c251..f8236774c1b4 100644 --- a/drivers/kvm/ioapic.c +++ b/drivers/kvm/ioapic.c | |||
@@ -271,7 +271,7 @@ static int get_eoi_gsi(struct kvm_ioapic *ioapic, int vector) | |||
271 | 271 | ||
272 | void kvm_ioapic_update_eoi(struct kvm *kvm, int vector) | 272 | void kvm_ioapic_update_eoi(struct kvm *kvm, int vector) |
273 | { | 273 | { |
274 | struct kvm_ioapic *ioapic = kvm->vioapic; | 274 | struct kvm_ioapic *ioapic = kvm->arch.vioapic; |
275 | union ioapic_redir_entry *ent; | 275 | union ioapic_redir_entry *ent; |
276 | int gsi; | 276 | int gsi; |
277 | 277 | ||
@@ -390,7 +390,7 @@ int kvm_ioapic_init(struct kvm *kvm) | |||
390 | ioapic = kzalloc(sizeof(struct kvm_ioapic), GFP_KERNEL); | 390 | ioapic = kzalloc(sizeof(struct kvm_ioapic), GFP_KERNEL); |
391 | if (!ioapic) | 391 | if (!ioapic) |
392 | return -ENOMEM; | 392 | return -ENOMEM; |
393 | kvm->vioapic = ioapic; | 393 | kvm->arch.vioapic = ioapic; |
394 | kvm_ioapic_reset(ioapic); | 394 | kvm_ioapic_reset(ioapic); |
395 | ioapic->dev.read = ioapic_mmio_read; | 395 | ioapic->dev.read = ioapic_mmio_read; |
396 | ioapic->dev.write = ioapic_mmio_write; | 396 | ioapic->dev.write = ioapic_mmio_write; |