nds32: Only print one page of stack when die to prevent printing too much information.
authorGreentime Hu <greentime@andestech.com>
Thu, 23 Aug 2018 06:47:43 +0000 (14:47 +0800)
committerGreentime Hu <greentime@andestech.com>
Tue, 4 Sep 2018 06:45:19 +0000 (14:45 +0800)
commit487c4b2323b26cfb5fd4d77d3605a92c182b6288
tree988940583f5055284a7f12543d8385c72bc35fc3
parent95f93ed7fe92c16f5346e477491d91e4fa8e92b8
nds32: Only print one page of stack when die to prevent printing too much information.

It may print too much information sometimes if the stack is wrong or
too big. This patch can limit the debug information in a page of stack.

Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/kernel/traps.c