path: root/target-unicore32
authorBlue Swirl <[email protected]>2011-05-21 12:16:05 (GMT)
committer Blue Swirl <[email protected]>2011-06-26 18:25:26 (GMT)
commitf3e270377acd074f62e08960ef9444adf67d3590 (patch) (side-by-side diff)
tree18a26d7473c79d8ccb4918bc703fc1ab3d8d14ab /target-unicore32
parentd8108fb187bb68459cfe7dca4b5c983db33bcc7b (diff)
exec.h: fix coding style and change cpu_has_work to return bool
Before the next patch, fix coding style of the areas affected. Change the type of the return value from cpu_has_work() and qemu_cpu_has_work() to bool. Signed-off-by: Blue Swirl <[email protected]>
Diffstat (limited to 'target-unicore32') (more/less context) (ignore whitespace changes)
1 files changed, 1 insertions, 1 deletions
diff --git a/target-unicore32/exec.h b/target-unicore32/exec.h
index 4ab55f4..ce4132f 100644
--- a/target-unicore32/exec.h
+++ b/target-unicore32/exec.h
@@ -26,7 +26,7 @@ static inline void regs_to_env(void)
-static inline int cpu_has_work(CPUState *env)
+static inline bool cpu_has_work(CPUState *env)
return env->interrupt_request &