sh: stacktrace: Add reliability checks in address saving ops.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 14 Aug 2009 16:05:46 +0000 (01:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 14 Aug 2009 16:05:46 +0000 (01:05 +0900)
commit48e4d4604b7da52d6a56ddc821a460b183b7353d
treef9a7846e5616dc972dcfa6e7d279f28e8178c014
parent0fc11e3618bb1f9e0640127ec84f5d2690fa3894
sh: stacktrace: Add reliability checks in address saving ops.

This adopts the reliability checks from the x86 stacktrace code so known
bad addresses are not recorded in the stack trace buffer.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/stacktrace.c