More efficient target register / TC accesses.
[qemu] / linux-user / mips / target_signal.h
index f3ef38d..6e1dc8b 100644 (file)
@@ -23,7 +23,7 @@ typedef struct target_sigaltstack {
 
 static inline abi_ulong get_sp_from_cpustate(CPUMIPSState *state)
 {
-    return state->gpr[state->current_tc][29];
+    return state->active_tc.gpr[29];
 }
 
 #endif /* TARGET_SIGNAL_H */