diff options
Diffstat (limited to 'arch/x86/kvm/ioapic.c')
-rw-r--r-- | arch/x86/kvm/ioapic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kvm/ioapic.c b/arch/x86/kvm/ioapic.c index 24f0f17639d6..51889ec847b0 100644 --- a/arch/x86/kvm/ioapic.c +++ b/arch/x86/kvm/ioapic.c | |||
@@ -493,8 +493,8 @@ static inline int ioapic_in_range(struct kvm_ioapic *ioapic, gpa_t addr) | |||
493 | (addr < ioapic->base_address + IOAPIC_MEM_LENGTH))); | 493 | (addr < ioapic->base_address + IOAPIC_MEM_LENGTH))); |
494 | } | 494 | } |
495 | 495 | ||
496 | static int ioapic_mmio_read(struct kvm_io_device *this, gpa_t addr, int len, | 496 | static int ioapic_mmio_read(struct kvm_vcpu *vcpu, struct kvm_io_device *this, |
497 | void *val) | 497 | gpa_t addr, int len, void *val) |
498 | { | 498 | { |
499 | struct kvm_ioapic *ioapic = to_ioapic(this); | 499 | struct kvm_ioapic *ioapic = to_ioapic(this); |
500 | u32 result; | 500 | u32 result; |
@@ -536,8 +536,8 @@ static int ioapic_mmio_read(struct kvm_io_device *this, gpa_t addr, int len, | |||
536 | return 0; | 536 | return 0; |
537 | } | 537 | } |
538 | 538 | ||
539 | static int ioapic_mmio_write(struct kvm_io_device *this, gpa_t addr, int len, | 539 | static int ioapic_mmio_write(struct kvm_vcpu *vcpu, struct kvm_io_device *this, |
540 | const void *val) | 540 | gpa_t addr, int len, const void *val) |
541 | { | 541 | { |
542 | struct kvm_ioapic *ioapic = to_ioapic(this); | 542 | struct kvm_ioapic *ioapic = to_ioapic(this); |
543 | u32 data; | 543 | u32 data; |