hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/sched/debug.h
....@@ -30,7 +30,8 @@
3030 * task), SP is the stack pointer of the first frame that should be shown in the back
3131 * trace (or NULL if the entire call-chain of the task should be shown).
3232 */
33
-extern void show_stack(struct task_struct *task, unsigned long *sp);
33
+extern void show_stack(struct task_struct *task, unsigned long *sp,
34
+ const char *loglvl);
3435
3536 extern void sched_show_task(struct task_struct *p);
3637
....@@ -42,7 +43,7 @@
4243 #endif
4344
4445 /* Attach to any functions which should be ignored in wchan output. */
45
-#define __sched __attribute__((__section__(".sched.text")))
46
+#define __sched __section(".sched.text")
4647
4748 /* Linker adds these: start and end of __sched functions */
4849 extern char __sched_text_start[], __sched_text_end[];