aboutsummaryrefslogtreecommitdiff
path: root/target-sh4/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-sh4/exec.h')
-rw-r--r--target-sh4/exec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sh4/exec.h b/target-sh4/exec.h
index 9f1c1f6..ff068c5 100644
--- a/target-sh4/exec.h
+++ b/target-sh4/exec.h
@@ -27,9 +27,9 @@ register struct CPUSH4State *env asm(AREG0);
#include "cpu.h"
#include "exec-all.h"
-static inline int cpu_has_work(CPUState *env)
+static inline bool cpu_has_work(CPUState *env)
{
- return (env->interrupt_request & CPU_INTERRUPT_HARD);
+ return env->interrupt_request & CPU_INTERRUPT_HARD;
}
#ifndef CONFIG_USER_ONLY