aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-14 12:09:03 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-14 12:09:03 -0400
commitf9967e23c10f025d85bbf66a2a5f18f016890ccb (patch)
treede74166f242fe2ac7fcef461287c9efd75e4c182
parent48e4d4604b7da52d6a56ddc821a460b183b7353d (diff)
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>
-rw-r--r--arch/sh/kernel/dumpstack.c2
1 files changed, 1 insertions, 1 deletions
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,
61 unsigned long addr = *sp++; 61 unsigned long addr = *sp++;
62 62
63 if (__kernel_text_address(addr)) { 63 if (__kernel_text_address(addr)) {
64 ops->address(data, addr, 0); 64 ops->address(data, addr, 1);
65 65
66 print_ftrace_graph_addr(addr, data, ops, 66 print_ftrace_graph_addr(addr, data, ops,
67 context, &graph); 67 context, &graph);