kernel/include/linux/sched/task_stack.h
.. .. @@ -65,7 +65,7 @@ 65 65 #ifdef CONFIG_THREAD_INFO_IN_TASK 66 66 static inline void *try_get_task_stack(struct task_struct *tsk) 67 67 { 68 - return atomic_inc_not_zero(&tsk->stack_refcount) ?68 + return refcount_inc_not_zero(&tsk->stack_refcount) ?69 69 task_stack_page(tsk) : NULL; 70 70 } 71 71