aboutsummaryrefslogtreecommitdiff
path: root/exec-all.h
diff options
context:
space:
mode:
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/exec-all.h b/exec-all.h
index 045648c062..5db83d368c 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -620,11 +620,7 @@ static inline int kqemu_is_ok(CPUState *env)
(env->eflags & IOPL_MASK) != IOPL_MASK &&
(env->cr[0] & CR0_PE_MASK) &&
(env->eflags & IF_MASK) &&
- !(env->eflags & VM_MASK)
-#if 1
- && (env->ldt.limit == 0 || env->ldt.limit == 0x27)
-#endif
- );
+ !(env->eflags & VM_MASK));
}
#endif