]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target/sparc/fop_helper.c
target/sparc: Use env_cpu, env_archcpu
[mirror_qemu.git] / target / sparc / fop_helper.c
index b6642fd1d7e7113d1dfef6e36dd4e4dd6da78915..9eb9b757182496650e3eb403e4083a4a7ee847c3 100644 (file)
@@ -53,7 +53,7 @@ static target_ulong do_check_ieee_exceptions(CPUSPARCState *env, uintptr_t ra)
         }
 
         if ((fsr & FSR_CEXC_MASK) & ((fsr & FSR_TEM_MASK) >> 23)) {
-            CPUState *cs = CPU(sparc_env_get_cpu(env));
+            CPUState *cs = env_cpu(env);
 
             /* Unmasked exception, generate a trap.  Note that while
                the helper is marked as NO_WG, we can get away with