summaryrefslogtreecommitdiffstats
path: root/hw/ppc/ppc.c
diff options
context:
space:
mode:
authorGreg Kurz2019-06-14 13:09:11 +0200
committerDavid Gibson2019-07-02 01:43:58 +0200
commit363ce377da3e1d24094649a1c25065f5014fc6c9 (patch)
tree0cab659e9f046b848c1977b6d469e48ca2baa11e /hw/ppc/ppc.c
parenthw/ppc/prep: Drop useless CONFIG_KVM ifdefery (diff)
downloadqemu-363ce377da3e1d24094649a1c25065f5014fc6c9.tar.gz
qemu-363ce377da3e1d24094649a1c25065f5014fc6c9.tar.xz
qemu-363ce377da3e1d24094649a1c25065f5014fc6c9.zip
hw/ppc: Drop useless CONFIG_KVM ifdefery
kvmppc_set_interrupt() has a stub that does nothing when CONFIG_KVM is not defined. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <156051055182.224162.15842560287892241124.stgit@bahia.lan> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/ppc.c')
-rw-r--r--hw/ppc/ppc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c
index 9d91e8481b..288196dfa6 100644
--- a/hw/ppc/ppc.c
+++ b/hw/ppc/ppc.c
@@ -80,9 +80,7 @@ void ppc_set_irq(PowerPCCPU *cpu, int n_IRQ, int level)
}
if (old_pending != env->pending_interrupts) {
-#ifdef CONFIG_KVM
kvmppc_set_interrupt(cpu, n_IRQ, level);
-#endif
}