summary refs log tree commit diff stats
path: root/target/s390x/cpu-system.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/s390x/cpu-system.c')
-rw-r--r--target/s390x/cpu-system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/s390x/cpu-system.c b/target/s390x/cpu-system.c
index 709ccd5299..f3a9ffb2a2 100644
--- a/target/s390x/cpu-system.c
+++ b/target/s390x/cpu-system.c
@@ -49,7 +49,7 @@ bool s390_cpu_has_work(CPUState *cs)
         return false;
     }
 
-    if (!(cs->interrupt_request & CPU_INTERRUPT_HARD)) {
+    if (!cpu_test_interrupt(cs, CPU_INTERRUPT_HARD)) {
         return false;
     }