summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-03 22:54:40 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-03 22:54:40 +0000
commitd0bdf2a28b7a73f02fd8025ab885c50c84def702 (patch)
treed7f6378a77327906f04c7a5a90cded19f82a18fd /target-i386
parent9467d44c4d5d9a2f1e0b4e3e0239320cbf81c1d2 (diff)
downloadqemu-d0bdf2a28b7a73f02fd8025ab885c50c84def702.tar.gz
qemu-d0bdf2a28b7a73f02fd8025ab885c50c84def702.tar.bz2
qemu-d0bdf2a28b7a73f02fd8025ab885c50c84def702.zip
Fix typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2941 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/exec.h b/target-i386/exec.h
index f1cf2b9234..f6d05e0358 100644
--- a/target-i386/exec.h
+++ b/target-i386/exec.h
@@ -578,7 +578,7 @@ static inline void regs_to_env(void)
static inline int cpu_halted(CPUState *env) {
/* handle exit of HALTED state */
- if (env->hflags & HF_HALTED_MASK)
+ if (!(env->hflags & HF_HALTED_MASK))
return 0;
/* disable halt condition */
if ((env->interrupt_request & CPU_INTERRUPT_HARD) &&