summaryrefslogtreecommitdiffstats
path: root/arch/csky/kernel/stacktrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/kernel/stacktrace.c')
-rw-r--r--arch/csky/kernel/stacktrace.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/csky/kernel/stacktrace.c b/arch/csky/kernel/stacktrace.c
index ca135f13cc13..16ae20a0af34 100644
--- a/arch/csky/kernel/stacktrace.c
+++ b/arch/csky/kernel/stacktrace.c
@@ -95,19 +95,12 @@ static bool print_trace_address(unsigned long pc, void *arg)
return false;
}
-void show_stack_loglvl(struct task_struct *task, unsigned long *sp,
- const char *loglvl)
+void show_stack(struct task_struct *task, unsigned long *sp, const char *loglvl)
{
pr_cont("Call Trace:\n");
walk_stackframe(task, NULL, print_trace_address, (void *)loglvl);
}
-void show_stack(struct task_struct *task, unsigned long *sp)
-{
- pr_cont("Call Trace:\n");
- walk_stackframe(task, NULL, print_trace_address, KERN_INFO);
-}
-
static bool save_wchan(unsigned long pc, void *arg)
{
if (!in_sched_functions(pc)) {