forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/include/linux/sched/task_stack.h
....@@ -23,7 +23,7 @@
2323
2424 #define setup_thread_stack(new,old) do { } while(0)
2525
26
-static inline unsigned long *end_of_stack(const struct task_struct *task)
26
+static __always_inline unsigned long *end_of_stack(const struct task_struct *task)
2727 {
2828 #ifdef CONFIG_STACK_GROWSUP
2929 return (unsigned long *)((unsigned long)task->stack + THREAD_SIZE) - 1;