Commit d0bdf2a28b7a73f02fd8025ab885c50c84def702
1 parent
9467d44c
Fix typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2941 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-i386/exec.h
... | ... | @@ -578,7 +578,7 @@ static inline void regs_to_env(void) |
578 | 578 | |
579 | 579 | static inline int cpu_halted(CPUState *env) { |
580 | 580 | /* handle exit of HALTED state */ |
581 | - if (env->hflags & HF_HALTED_MASK) | |
581 | + if (!(env->hflags & HF_HALTED_MASK)) | |
582 | 582 | return 0; |
583 | 583 | /* disable halt condition */ |
584 | 584 | if ((env->interrupt_request & CPU_INTERRUPT_HARD) && | ... | ... |