summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2009-09-12 16:50:07 +0200
committerBlue Swirl <blauwirbel@gmail.com>2009-09-12 15:52:13 +0000
commit2305411129cd9d68f5509d99e49e6fb9d093c8b4 (patch)
tree222b45fbd38a08d8d7437b40ab1d9a82e7ab571e /target-i386
parent6a0b9cc91f938d16acdceb5f3b9d5b974c12835f (diff)
i386: Drop redundant kvm_enabled test
cpu_synchronize_state already does this. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 45b04eeb0..8111f2566 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -743,8 +743,7 @@ void cpu_dump_state(CPUState *env, FILE *f,
char cc_op_name[32];
static const char *seg_name[6] = { "ES", "CS", "SS", "DS", "FS", "GS" };
- if (kvm_enabled())
- cpu_synchronize_state(env);
+ cpu_synchronize_state(env);
eflags = env->eflags;
#ifdef TARGET_X86_64