From: Paolo Bonzini <pbonz...@redhat.com> It will be changed to an atomic operation soon.
Cc: Cornelia Huck <coh...@redhat.com> Cc: Richard Henderson <r...@twiddle.net> Cc: Alexander Graf <ag...@suse.de> Cc: David Hildenbrand <da...@redhat.com> Cc: qemu-s3...@nongnu.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Emilio G. Cota <c...@braap.org> --- target/s390x/excp_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/s390x/excp_helper.c b/target/s390x/excp_helper.c index f0ce60cff2..f2b92d7cbc 100644 --- a/target/s390x/excp_helper.c +++ b/target/s390x/excp_helper.c @@ -444,7 +444,7 @@ try_deliver: /* we might still have pending interrupts, but not deliverable */ if (!env->pending_int && !qemu_s390_flic_has_any(flic)) { - cs->interrupt_request &= ~CPU_INTERRUPT_HARD; + cpu_reset_interrupt(cs, CPU_INTERRUPT_HARD); } /* WAIT PSW during interrupt injection or STOP interrupt */ -- 2.17.1