mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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:
parent
40bc9c671a
commit
dc8f6029cd
8 changed files with 13 additions and 14 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue