projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d62f270
)
KVM: x86: directly call kvm_make_scan_ioapic_request() in ioapic.c
author
David Hildenbrand
<david@redhat.com>
Fri, 7 Apr 2017 08:50:32 +0000
(10:50 +0200)
committer
Radim Krčmář
<rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:14 +0000
(20:17 +0200)
We know there is an ioapic, so let's call it directly.
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/ioapic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/ioapic.c
b/arch/x86/kvm/ioapic.c
index 3072cdf15bfb7c6f68990c70c3e3a3e202fbedcf..dc29a2785b81fe9b6056b0460e3cff3ce1cdc14d 100644
(file)
--- a/
arch/x86/kvm/ioapic.c
+++ b/
arch/x86/kvm/ioapic.c
@@
-313,7
+313,7
@@
static void ioapic_write_indirect(struct kvm_ioapic *ioapic, u32 val)
if (e->fields.trig_mode == IOAPIC_LEVEL_TRIG
&& ioapic->irr & (1 << index))
ioapic_service(ioapic, index, false);
- kvm_
vcpu_request_scan_ioapic
(ioapic->kvm);
+ kvm_
make_scan_ioapic_request
(ioapic->kvm);
break;
}
}
@@
-660,7
+660,7
@@
void kvm_set_ioapic(struct kvm *kvm, struct kvm_ioapic_state *state)
memcpy(ioapic, state, sizeof(struct kvm_ioapic_state));
ioapic->irr = 0;
ioapic->irr_delivered = 0;
- kvm_
vcpu_request_scan_ioapic
(kvm);
+ kvm_
make_scan_ioapic_request
(kvm);
kvm_ioapic_inject_all(ioapic, state->irr);
spin_unlock(&ioapic->lock);
}