]> git.proxmox.com Git - qemu.git/blobdiff - target-sparc/cpu.c
log: Change log_cpu_state[_mask]() argument to CPUState
[qemu.git] / target-sparc / cpu.c
index 65ae6f73bf771f7b895a5e4ba4901b8a066da67c..4cbb2063d53ef5be0348eac3f9cff5b8ebf2cbbf 100644 (file)
@@ -32,7 +32,7 @@ static void sparc_cpu_reset(CPUState *s)
 
     if (qemu_loglevel_mask(CPU_LOG_RESET)) {
         qemu_log("CPU Reset (CPU %d)\n", s->cpu_index);
-        log_cpu_state(env, 0);
+        log_cpu_state(s, 0);
     }
 
     scc->parent_reset(s);