hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/include/linux/sched/task_stack.h
....@@ -65,7 +65,7 @@
6565 #ifdef CONFIG_THREAD_INFO_IN_TASK
6666 static inline void *try_get_task_stack(struct task_struct *tsk)
6767 {
68
- return atomic_inc_not_zero(&tsk->stack_refcount) ?
68
+ return refcount_inc_not_zero(&tsk->stack_refcount) ?
6969 task_stack_page(tsk) : NULL;
7070 }
7171