aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc/exec.h')
-rw-r--r--target-sparc/exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/exec.h b/target-sparc/exec.h
index becdaf5bf3..c1ac2fd8b3 100644
--- a/target-sparc/exec.h
+++ b/target-sparc/exec.h
@@ -13,7 +13,7 @@ register struct CPUSPARCState *env asm(AREG0);
#endif /* !defined(CONFIG_USER_ONLY) */
/* op_helper.c */
-static inline int cpu_has_work(CPUState *env1)
+static inline bool cpu_has_work(CPUState *env1)
{
return (env1->interrupt_request & CPU_INTERRUPT_HARD) &&
cpu_interrupts_enabled(env1);