Blackfin: do not try displaying the end of the stack
authorSonic Zhang <sonic.zhang@analog.com>
Thu, 16 Jul 2009 10:36:35 +0000 (10:36 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 01:31:50 +0000 (21:31 -0400)
commit407505dc01ac2b4f2944cd3c6a0c02473ffb869e
tree73e4a061898219ac7db3afdb09d092e9b2f94612
parent2120b68f31d3b08be99010b3992f58f07794b8b0
Blackfin: do not try displaying the end of the stack

The end of the stack may not be valid (and that could be OK), so do not
attempt to parse it.  If we do, we might use a bad pointer in kernel space
which makes things panic().

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/traps.c