[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>
This commit is contained in:
@@ -519,7 +519,7 @@ static inline int simulate_llsc(struct pt_regs *regs)
|
||||
*/
|
||||
static inline int simulate_rdhwr(struct pt_regs *regs)
|
||||
{
|
||||
struct thread_info *ti = current->thread_info;
|
||||
struct thread_info *ti = task_thread_info(current);
|
||||
unsigned int opcode;
|
||||
|
||||
if (unlikely(get_insn_opcode(regs, &opcode)))
|
||||
|
Reference in New Issue
Block a user