diff options
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 5eb3b8dd74b8..75e9df097845 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -2264,7 +2264,7 @@ static struct kvm_io_device *vcpu_find_pervcpu_dev(struct kvm_vcpu *vcpu, | |||
2264 | 2264 | ||
2265 | if (vcpu->arch.apic) { | 2265 | if (vcpu->arch.apic) { |
2266 | dev = &vcpu->arch.apic->dev; | 2266 | dev = &vcpu->arch.apic->dev; |
2267 | if (dev->in_range(dev, addr, len, is_write)) | 2267 | if (kvm_iodevice_in_range(dev, addr, len, is_write)) |
2268 | return dev; | 2268 | return dev; |
2269 | } | 2269 | } |
2270 | return NULL; | 2270 | return NULL; |