MIPS: Fix Magic SysRq L kernel crash.
authorVincent Wen <vincentwenlinux@gmail.com>
Thu, 19 Jul 2012 07:11:16 +0000 (09:11 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 Jul 2012 09:23:44 +0000 (11:23 +0200)
commite909be825212da62433e805f03586015a04f3c78
tree0f6671bda7cd9709bda9c83930271fa947a13132
parentca760ca5238c55cd0e29291c63e35ac6634d385f
MIPS: Fix Magic SysRq L kernel crash.

show_backtrace() was passed a NULL pointer which caused paging
request fail. Set to current task as other architectures (ARM,
etc) do when passed a NULL task pointer.

Signed-off-by: Vincent Wen <vincentwenlinux@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: cernekee@gmail.com
Patchwork: https://patchwork.linux-mips.org/patch/3524/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c