hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/mips/include/asm/syscall.h
....@@ -38,7 +38,7 @@
3838 static inline long syscall_get_nr(struct task_struct *task,
3939 struct pt_regs *regs)
4040 {
41
- return current_thread_info()->syscall;
41
+ return task_thread_info(task)->syscall;
4242 }
4343
4444 static inline void mips_syscall_update_nr(struct task_struct *task,