]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit294c65c0c47d2623cf949b59e8c5785964cbb6bf
tree0f6671bda7cd9709bda9c83930271fa947a13132
parent19425fb53ebf805829b3a9832f3ff53b5357f2a0
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