]> git.proxmox.com Git - qemu.git/blobdiff - target-arm/cpu.c
cpu: Move cpu_index field to CPUState
[qemu.git] / target-arm / cpu.c
index 94536bb0ccc3f109711b1a5d5fc476b023a46f10..07588a13b28eae84ce9ec3ab5347c4f8d4691097 100644 (file)
@@ -64,7 +64,7 @@ static void arm_cpu_reset(CPUState *s)
     CPUARMState *env = &cpu->env;
 
     if (qemu_loglevel_mask(CPU_LOG_RESET)) {
-        qemu_log("CPU Reset (CPU %d)\n", env->cpu_index);
+        qemu_log("CPU Reset (CPU %d)\n", s->cpu_index);
         log_cpu_state(env, 0);
     }