]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commitdiff
Fix typo.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 3 Jun 2007 22:54:40 +0000 (22:54 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 3 Jun 2007 22:54:40 +0000 (22:54 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2941 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/exec.h

index f1cf2b9234acdf7a650dd413cfdf5dc07e19bf50..f6d05e03582f86545decdd1e7997ccc1cfdef593 100644 (file)
@@ -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) &&