summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/dumpstack.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-15 01:09:03 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-15 01:09:03 +0900
commitf9967e23c10f025d85bbf66a2a5f18f016890ccb (patch)
treede74166f242fe2ac7fcef461287c9efd75e4c182 /arch/sh/kernel/dumpstack.c
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>
Diffstat (limited to 'arch/sh/kernel/dumpstack.c')
-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,
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);