Re: [PATCH] MIPS: oops when show backtrace of all active cpu

2012-08-01 Thread Fan Du
On 2012年08月02日 12:18, Kevin Cernekee wrote: On Wed, Aug 1, 2012 at 8:31 PM, Fan Du wrote: show_backtrace must have an valid task when calling unwind_stack, so fix it by checking first. [...] --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -151,6 +151,10 @@ static void show_

Re: [PATCH] MIPS: oops when show backtrace of all active cpu

2012-08-01 Thread Kevin Cernekee
On Wed, Aug 1, 2012 at 8:31 PM, Fan Du wrote: > show_backtrace must have an valid task when calling unwind_stack, > so fix it by checking first. [...] > --- a/arch/mips/kernel/traps.c > +++ b/arch/mips/kernel/traps.c > @@ -151,6 +151,10 @@ static void show_backtrace(struct task_struct *task, > co

[PATCH] MIPS: oops when show backtrace of all active cpu

2012-08-01 Thread Fan Du
show_backtrace must have an valid task when calling unwind_stack, so fix it by checking first. root@romashell:/root> echo l > /proc/sysrq-trigger SysRq : Show backtrace of all active CPUs Stack : 81bf 81ceroot@octeon:/root> 81bf 0036 ff