mirror of https://gitee.com/openkylin/linux.git
um: Rename print_stack_trace to do_stack_trace
We cannot use print_stack_trace because the name conflicts with linux/stacktrace.h. Reported-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
af91706d5d
commit
8ed12fcc19
|
@ -19,7 +19,7 @@ struct stack_frame {
|
|||
unsigned long return_address;
|
||||
};
|
||||
|
||||
static void print_stack_trace(unsigned long *sp, unsigned long bp)
|
||||
static void do_stack_trace(unsigned long *sp, unsigned long bp)
|
||||
{
|
||||
int reliable;
|
||||
unsigned long addr;
|
||||
|
@ -94,5 +94,5 @@ void show_stack(struct task_struct *task, unsigned long *stack)
|
|||
}
|
||||
printk(KERN_CONT "\n");
|
||||
|
||||
print_stack_trace(sp, bp);
|
||||
do_stack_trace(sp, bp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue