aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-microblaze/exec.h')
-rw-r--r--target-microblaze/exec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-microblaze/exec.h b/target-microblaze/exec.h
index 1efff30..bb2b7db 100644
--- a/target-microblaze/exec.h
+++ b/target-microblaze/exec.h
@@ -27,9 +27,9 @@ register struct CPUMBState *env asm(AREG0);
#include "softmmu_exec.h"
#endif
-static inline int cpu_has_work(CPUState *env)
+static inline bool cpu_has_work(CPUState *env)
{
- return (env->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI));
+ return env->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI);
}
static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb)