Commit 363ce377 authored by Greg Kurz's avatar Greg Kurz Committed by David Gibson
Browse files

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: default avatarGreg Kurz <groug@kaod.org>
Message-Id: <156051055182.224162.15842560287892241124.stgit@bahia.lan>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 6d893a4d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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
    }