From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 09 Dec 2023 07:24:11 +0000 Subject: [PATCH] add stmac read mac form eeprom --- kernel/include/linux/sched/task_stack.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/include/linux/sched/task_stack.h b/kernel/include/linux/sched/task_stack.h index 4f099d3..d101505 100644 --- a/kernel/include/linux/sched/task_stack.h +++ b/kernel/include/linux/sched/task_stack.h @@ -65,7 +65,7 @@ #ifdef CONFIG_THREAD_INFO_IN_TASK static inline void *try_get_task_stack(struct task_struct *tsk) { - return atomic_inc_not_zero(&tsk->stack_refcount) ? + return refcount_inc_not_zero(&tsk->stack_refcount) ? task_stack_page(tsk) : NULL; } -- Gitblit v1.6.2