aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kvm/book3s.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c
index 02a9cb165d53..7adea6320654 100644
--- a/arch/powerpc/kvm/book3s.c
+++ b/arch/powerpc/kvm/book3s.c
@@ -201,6 +201,9 @@ static void kvmppc_book3s_dequeue_irqprio(struct kvm_vcpu *vcpu,
201{ 201{
202 clear_bit(kvmppc_book3s_vec2irqprio(vec), 202 clear_bit(kvmppc_book3s_vec2irqprio(vec),
203 &vcpu->arch.pending_exceptions); 203 &vcpu->arch.pending_exceptions);
204
205 if (!vcpu->arch.pending_exceptions)
206 vcpu->arch.shared->int_pending = 0;
204} 207}
205 208
206void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec) 209void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec)