From ec01a879eee48c6f98eb9026c9adf442b3283236 Mon Sep 17 00:00:00 2001 From: SeokYeon Hwang Date: Thu, 12 Dec 2013 15:39:41 +0900 Subject: [PATCH] Fix build error on "hax-all.c". Signed-off-by: SeokYeon Hwang --- target-i386/hax-all.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-i386/hax-all.c b/target-i386/hax-all.c index 188ece63bb..cbc27ab936 100644 --- a/target-i386/hax-all.c +++ b/target-i386/hax-all.c @@ -1200,7 +1200,7 @@ int hax_sync_vcpus(void) if (!cpu) return 0; - for (; cpu != NULL; cpu = cpu->next_cpu) { + for (; cpu != NULL; cpu = CPU_NEXT(cpu)) { int ret; ret = hax_arch_set_registers(cpu->env_ptr); @@ -1217,7 +1217,7 @@ int hax_sync_vcpus(void) void hax_reset_vcpu_state(void *opaque) { CPUState *cpu; - for (cpu = first_cpu; cpu != NULL; cpu = cpu->next_cpu) + for (cpu = first_cpu; cpu != NULL; cpu = CPU_NEXT(cpu)) { CPUArchState *env = (CPUArchState *) cpu->env_ptr; dprint("*********ReSet hax_vcpu->emulation_state \n"); -- 2.34.1