diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 04:06:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 12:08:59 -0500 |
commit | dc8f6029cd51af1b148846a32e68d69013a5cc0f (patch) | |
tree | 64288cee77b341c2c39accbe5f593ff9445e18f1 /arch/mips/kernel/traps.c | |
parent | 40bc9c671a9f0a5189c07a2b4280aec9b40e30cd (diff) |
[PATCH] mips: task_thread_info()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/mips/kernel/traps.c')
-rw-r--r-- | arch/mips/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 7058893d5ad2..59a187956de0 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -519,7 +519,7 @@ static inline int simulate_llsc(struct pt_regs *regs) | |||
519 | */ | 519 | */ |
520 | static inline int simulate_rdhwr(struct pt_regs *regs) | 520 | static inline int simulate_rdhwr(struct pt_regs *regs) |
521 | { | 521 | { |
522 | struct thread_info *ti = current->thread_info; | 522 | struct thread_info *ti = task_thread_info(current); |
523 | unsigned int opcode; | 523 | unsigned int opcode; |
524 | 524 | ||
525 | if (unlikely(get_insn_opcode(regs, &opcode))) | 525 | if (unlikely(get_insn_opcode(regs, &opcode))) |