diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-10-24 23:26:08 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-10-24 23:26:08 +0000 |
commit | 3030734911ede364a11128eb4de1c53710168404 (patch) | |
tree | 215774aa14b3f71266591fe499abf5bdda404ea0 /include | |
parent | d44ce4991590772faca9bd85805bd58025052f10 (diff) |
Fix get_wchan for real. The 64-bit version also supports 32-bit ps
binaries. For 64-bit kernel and 32-bit the higher 32-bit of addresses
have to be stripped of all addresses.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips64/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips64/processor.h b/include/asm-mips64/processor.h index 9715abc14..8a3cad9f3 100644 --- a/include/asm-mips64/processor.h +++ b/include/asm-mips64/processor.h @@ -251,7 +251,7 @@ extern inline unsigned long thread_saved_pc(struct thread_struct *t) if (t->reg31 == (unsigned long) ret_from_sys_call) return t->reg31; - return ((unsigned long*)t->reg29)[17]; + return ((unsigned long*)t->reg29)[11]; } #define user_mode(regs) (((regs)->cp0_status & ST0_KSU) == KSU_USER) |