diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-03 22:54:40 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-03 22:54:40 +0000 |
commit | d0bdf2a28b7a73f02fd8025ab885c50c84def702 (patch) | |
tree | d7f6378a77327906f04c7a5a90cded19f82a18fd | |
parent | 9467d44c4d5d9a2f1e0b4e3e0239320cbf81c1d2 (diff) | |
download | qemu-d0bdf2a28b7a73f02fd8025ab885c50c84def702.zip qemu-d0bdf2a28b7a73f02fd8025ab885c50c84def702.tar.gz qemu-d0bdf2a28b7a73f02fd8025ab885c50c84def702.tar.bz2 |
Fix typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2941 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | target-i386/exec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/exec.h b/target-i386/exec.h index f1cf2b9..f6d05e0 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) && |