diff options
Diffstat (limited to 'arch/mips/include/asm/syscall.h')
| -rw-r--r-- | arch/mips/include/asm/syscall.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/syscall.h b/arch/mips/include/asm/syscall.h index 25fa651c937d..ebdf4d910af2 100644 --- a/arch/mips/include/asm/syscall.h +++ b/arch/mips/include/asm/syscall.h @@ -38,7 +38,7 @@ static inline bool mips_syscall_is_indirect(struct task_struct *task,  static inline long syscall_get_nr(struct task_struct *task,  				  struct pt_regs *regs)  { -	return current_thread_info()->syscall; +	return task_thread_info(task)->syscall;  }  static inline void mips_syscall_update_nr(struct task_struct *task,  |