forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
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,