From d0dc7dc3274a88db1c9941614454ed842d62cf91 Mon Sep 17 00:00:00 2001 From: ths Date: Tue, 12 Feb 2008 21:01:26 +0000 Subject: Make MIPS MT implementation more cache friendly. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3981 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/mips64/target_signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user/mips64') diff --git a/linux-user/mips64/target_signal.h b/linux-user/mips64/target_signal.h index 3b06e98..f3ef38d 100644 --- a/linux-user/mips64/target_signal.h +++ b/linux-user/mips64/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 */ -- cgit v1.1