From: SeokYeon Hwang Date: Thu, 12 Dec 2013 06:39:41 +0000 (+0900) Subject: Fix build error on "hax-all.c". X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~524^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec01a879eee48c6f98eb9026c9adf442b3283236;p=sdk%2Femulator%2Fqemu.git Fix build error on "hax-all.c". Signed-off-by: SeokYeon Hwang --- 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");