[uml-devel] [PATCH] 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 Signed-off-by: Richard Weinberger --- arch/um/kernel/sysrq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c index 4d6fdf6..799d7e4 100644 --- a/arch/um/kernel/sysrq.c +++ b/arch/um/kernel/sysrq.c @@ -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); } -- 1.8.4.2 -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk ___ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] [PATCH] um: Rename print_stack_trace to do_stack_trace
On 11/21/13 00:31, Richard Weinberger wrote: > We cannot use print_stack_trace because the name conflicts > with linux/stacktrace.h. > > Reported-by: Randy Dunlap > Signed-off-by: Richard Weinberger Acked-by: Randy Dunlap Thanks. > --- > arch/um/kernel/sysrq.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c > index 4d6fdf6..799d7e4 100644 > --- a/arch/um/kernel/sysrq.c > +++ b/arch/um/kernel/sysrq.c > @@ -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); > } > -- ~Randy -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk ___ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel