]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/ppc: Drop useless CONFIG_KVM ifdefery
authorGreg Kurz <groug@kaod.org>
Fri, 14 Jun 2019 11:09:11 +0000 (13:09 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 1 Jul 2019 23:43:58 +0000 (09:43 +1000)
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>
hw/ppc/ppc.c

index 9d91e8481b32c15edf4690f21fdd7c1feb29b1c2..288196dfa67acd09f58be59fc682e0be2b22a9aa 100644 (file)
@@ -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
     }