diff options
author | Avi Kivity <avi@redhat.com> | 2011-11-10 16:57:21 +0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 13:23:39 +0400 |
commit | 893420822192f717af6fde927c9e78c9b82f8327 (patch) | |
tree | ee13dca53f1205b01c7390cf79a8d9689f018e99 /arch/x86/kvm/lapic.c | |
parent | e0dac408d08c2a5e1bed2a6a9da7f3af3f7a9827 (diff) | |
download | linux-893420822192f717af6fde927c9e78c9b82f8327.tar.xz |
KVM: Expose kvm_lapic_local_deliver()
Needed to deliver performance monitoring interrupts.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
-rw-r--r-- | arch/x86/kvm/lapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index a7f3e655cd3e..cfdc6e0ef002 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c @@ -1121,7 +1121,7 @@ int apic_has_pending_timer(struct kvm_vcpu *vcpu) return 0; } -static int kvm_apic_local_deliver(struct kvm_lapic *apic, int lvt_type) +int kvm_apic_local_deliver(struct kvm_lapic *apic, int lvt_type) { u32 reg = apic_get_reg(apic, lvt_type); int vector, mode, trig_mode; |