From f9967e23c10f025d85bbf66a2a5f18f016890ccb Mon Sep 17 00:00:00 2001
From: Paul Mundt <lethal@linux-sh.org>
Date: Sat, 15 Aug 2009 01:09:03 +0900
Subject: [PATCH] sh: flag the default unwinder as reliable.

This flags the default unwinder as reliable, as it tends to be reliable
enough for the purposes of the stacktrace buffer. We leave the unreliable
cases for the unwind methods that we know to be completely broken.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
 arch/sh/kernel/dumpstack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sh/kernel/dumpstack.c b/arch/sh/kernel/dumpstack.c
index 005dc1d11460..6f5ad1513409 100644
--- a/arch/sh/kernel/dumpstack.c
+++ b/arch/sh/kernel/dumpstack.c
@@ -61,7 +61,7 @@ stack_reader_dump(struct task_struct *task, struct pt_regs *regs,
 		unsigned long addr = *sp++;
 
 		if (__kernel_text_address(addr)) {
-			ops->address(data, addr, 0);
+			ops->address(data, addr, 1);
 
 			print_ftrace_graph_addr(addr, data, ops,
 						context, &graph);
-- 
GitLab