]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[MIPS] Fix check for valid stack pointer during backtrace
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 12 May 2008 15:58:48 +0000 (17:58 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Jun 2008 17:13:14 +0000 (18:13 +0100)
commit10220c884444a1866bb070e207d84fc18188e2a7
treed931cbfe5375a4e24ff05b3f6ae143b0b214416e
parent057229f9efc7ebebd3ce0496195ed46df631f383
[MIPS] Fix check for valid stack pointer during backtrace

The newly added check for valid stack pointer address breaks at least for
64bit kernels.  Use __get_user() for accessing stack content to avoid crashes,
when doing the backtrace.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c