ARC: stack unwinder to bail if PC is not kernel mode
authorVineet Gupta <vgupta@synopsys.com>
Fri, 10 Apr 2015 08:36:40 +0000 (14:06 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 19 Jun 2015 12:39:29 +0000 (18:09 +0530)
commitdef32fad84975d5d28e070215038224ea7f0d4bc
treec572269a428c47f4b5d7a54b4b1b29b0f55cee0a
parent082ae1e1570c69a06221701718f548bd4000b95b
ARC: stack unwinder to bail if PC is not kernel mode

Currently, it doesn't invoke the callback but continues to unwind

Also while at it - simplify the code a bit

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/stacktrace.c