提交 8ed12fcc 编写于 作者: R Richard Weinberger

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: NRandy Dunlap <rdunlap@infradead.org>
Acked-by: NRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 af91706d
...@@ -19,7 +19,7 @@ struct stack_frame { ...@@ -19,7 +19,7 @@ struct stack_frame {
unsigned long return_address; 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; int reliable;
unsigned long addr; unsigned long addr;
...@@ -94,5 +94,5 @@ void show_stack(struct task_struct *task, unsigned long *stack) ...@@ -94,5 +94,5 @@ void show_stack(struct task_struct *task, unsigned long *stack)
} }
printk(KERN_CONT "\n"); printk(KERN_CONT "\n");
print_stack_trace(sp, bp); do_stack_trace(sp, bp);
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册