parisc: Stop unwinding at start of stack
authorHelge Deller <deller@gmx.de>
Sun, 17 Sep 2017 19:05:02 +0000 (21:05 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 22 Sep 2017 17:46:16 +0000 (19:46 +0200)
commite77900abfd8be4e207412d8b7752dbb9838e2571
tree58cf7e11b76f139bfc5b28e033ea053d1b5c398e
parent432654df90f2a7d8ac8438905208074604ed3e00
parisc: Stop unwinding at start of stack

Check stack pointer if we are reaching the stack end and stop unwinding
if we do. This fixes early backtraces and avoids showing unrealistic
call stacks.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/unwind.c