hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
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;