Skip to content

Commit 4496f97

Browse files
agrafavikivity
authored andcommitted
KVM: PPC: Add dequeue for external on BookE
Commit a0abee86af2d1f048dbe99d2bcc4a2cefe685617 introduced unsetting of the IRQ line from userspace. This added a new core specific callback that I apparently forgot to add for BookE. So let's add the callback for BookE as well, making it build again. Signed-off-by: Alexander Graf <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
1 parent 24222c2 commit 4496f97

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/powerpc/kvm/booke.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ void kvmppc_core_queue_external(struct kvm_vcpu *vcpu,
133133
kvmppc_booke_queue_irqprio(vcpu, BOOKE_IRQPRIO_EXTERNAL);
134134
}
135135

136+
void kvmppc_core_dequeue_external(struct kvm_vcpu *vcpu,
137+
struct kvm_interrupt *irq)
138+
{
139+
clear_bit(BOOKE_IRQPRIO_EXTERNAL, &vcpu->arch.pending_exceptions);
140+
}
141+
136142
/* Deliver the interrupt of the corresponding priority, if possible. */
137143
static int kvmppc_booke_irqprio_deliver(struct kvm_vcpu *vcpu,
138144
unsigned int priority)

0 commit comments

Comments
 (0)