diff options
Diffstat (limited to 'linux-user/mipsn32')
-rw-r--r-- | linux-user/mipsn32/target_signal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/mipsn32/target_signal.h b/linux-user/mipsn32/target_signal.h index 4adf726e65..5da84112be 100644 --- a/linux-user/mipsn32/target_signal.h +++ b/linux-user/mipsn32/target_signal.h @@ -23,7 +23,7 @@ typedef struct target_sigaltstack { static inline target_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 */ |