.. | .. |
---|
30 | 30 | * task), SP is the stack pointer of the first frame that should be shown in the back |
---|
31 | 31 | * trace (or NULL if the entire call-chain of the task should be shown). |
---|
32 | 32 | */ |
---|
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); |
---|
34 | 35 | |
---|
35 | 36 | extern void sched_show_task(struct task_struct *p); |
---|
36 | 37 | |
---|
.. | .. |
---|
42 | 43 | #endif |
---|
43 | 44 | |
---|
44 | 45 | /* Attach to any functions which should be ignored in wchan output. */ |
---|
45 | | -#define __sched __attribute__((__section__(".sched.text"))) |
---|
| 46 | +#define __sched __section(".sched.text") |
---|
46 | 47 | |
---|
47 | 48 | /* Linker adds these: start and end of __sched functions */ |
---|
48 | 49 | extern char __sched_text_start[], __sched_text_end[]; |
---|