aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/apic.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-09-14 14:25:22 +0200
committerJan Beulich <jbeulich@suse.com>2012-09-14 14:25:22 +0200
commit00f05388a688508f8a6b0c82d281aebd90a37d4e (patch)
tree399d6ced6deb961830fdae3353d3bd2fe758f1bf /xen/arch/x86/apic.c
parent83cd2038fed9267e567872ac3c4f9c16fd58f5ab (diff)
downloadxen-00f05388a688508f8a6b0c82d281aebd90a37d4e.tar.gz
xen-00f05388a688508f8a6b0c82d281aebd90a37d4e.tar.bz2
xen-00f05388a688508f8a6b0c82d281aebd90a37d4e.zip
x86/hvm: don't use indirect calls without need
Direct calls perform better, so we should prefer them and use indirect ones only when there indeed is a need for indirection. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/apic.c')
-rw-r--r--xen/arch/x86/apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/apic.c b/xen/arch/x86/apic.c
index 50430d2f39..9aaa5d67bc 100644
--- a/xen/arch/x86/apic.c
+++ b/xen/arch/x86/apic.c
@@ -1373,7 +1373,7 @@ void error_interrupt(struct cpu_user_regs *regs)
void pmu_apic_interrupt(struct cpu_user_regs *regs)
{
ack_APIC_irq();
- hvm_do_pmu_interrupt(regs);
+ vpmu_do_interrupt(regs);
}
/*