aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/exec.h')
-rw-r--r--target-ppc/exec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/exec.h b/target-ppc/exec.h
index f87847acb1..81c3c547f8 100644
--- a/target-ppc/exec.h
+++ b/target-ppc/exec.h
@@ -32,9 +32,9 @@ register struct CPUPPCState *env asm(AREG0);
#include "softmmu_exec.h"
#endif /* !defined(CONFIG_USER_ONLY) */
-static inline int cpu_has_work(CPUState *env)
+static inline bool cpu_has_work(CPUState *env)
{
- return (msr_ee && (env->interrupt_request & CPU_INTERRUPT_HARD));
+ return msr_ee && (env->interrupt_request & CPU_INTERRUPT_HARD);
}