]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/sparc64/sparc64.c
target/sparc: Use env_cpu, env_archcpu
[mirror_qemu.git] / hw / sparc64 / sparc64.c
index 408388945ebe34e6d1417085c57d76d3f0a0b7c2..689801f37d0a1b312d8c210eeb0a1639d6992b65 100644 (file)
@@ -46,7 +46,7 @@ void cpu_check_irqs(CPUSPARCState *env)
     if (env->ivec_status & 0x20) {
         return;
     }
-    cs = CPU(sparc_env_get_cpu(env));
+    cs = env_cpu(env);
     /* check if TM or SM in SOFTINT are set
        setting these also causes interrupt 14 */
     if (env->softint & (SOFTINT_TIMER | SOFTINT_STIMER)) {