aboutsummaryrefslogtreecommitdiff
path: root/linux-user/mips/target_signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/mips/target_signal.h')
-rw-r--r--linux-user/mips/target_signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/mips/target_signal.h b/linux-user/mips/target_signal.h
index 3b06e9824c..f3ef38d246 100644
--- a/linux-user/mips/target_signal.h
+++ b/linux-user/mips/target_signal.h
@@ -23,7 +23,7 @@ typedef struct target_sigaltstack {
static inline abi_ulong get_sp_from_cpustate(CPUMIPSState *state)
{
- return state->gpr[29][state->current_tc];
+ return state->gpr[state->current_tc][29];
}
#endif /* TARGET_SIGNAL_H */