Skip to content

Commit

Permalink
um: Rename print_stack_trace to do_stack_trace
Browse files Browse the repository at this point in the history
We cannot use print_stack_trace because the name conflicts
with linux/stacktrace.h.

Reported-by: Randy Dunlap <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
  • Loading branch information
richardweinberger committed Dec 1, 2013
1 parent af91706 commit 8ed12fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/um/kernel/sysrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}

0 comments on commit 8ed12fc

Please sign in to comment.