summaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-22 22:03:52 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-22 22:03:52 +0000
commit9d05095e5fc0609bfb1f46379791abb664680e4b (patch)
tree5cb6579a770c2934d75845a39bf7e921a77f6cfa /cpu-exec.c
parentea4e754f5a3c44d82ae7a09daad97e67c4b956a0 (diff)
downloadqemu-9d05095e5fc0609bfb1f46379791abb664680e4b.tar.gz
qemu-9d05095e5fc0609bfb1f46379791abb664680e4b.tar.bz2
qemu-9d05095e5fc0609bfb1f46379791abb664680e4b.zip
mips cleanup (Thiemo Seufer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1934 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 8a585c1066..b6df3bef18 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -561,6 +561,8 @@ int cpu_exec(CPUState *env1)
#elif defined(TARGET_SH4)
/* XXXXX */
#endif
+ /* Don't use the cached interupt_request value,
+ do_interrupt may have updated the EXITTB flag. */
if (env->interrupt_request & CPU_INTERRUPT_EXITTB) {
env->interrupt_request &= ~CPU_INTERRUPT_EXITTB;
/* ensure that no TB jump will be modified as