aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2006-06-26 07:57:47 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 13:48:18 -0400
commitc33bd9aac0597eeedaaa01ea5aafe456894b2f2b (patch)
treecdac9bb99eb3943feccc2a21d09a1524a8867cb0 /include/asm-x86_64
parentfe7cacc1c25e286872b878c5d46880b620cd1e2d (diff)
[PATCH] i386/x86-64: fall back to old-style call trace if no unwinding
If no unwinding is possible at all for a certain exception instance, fall back to the old style call trace instead of not showing any trace at all. Also, allow setting the stack trace mode at the command line. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r--include/asm-x86_64/unwind.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-x86_64/unwind.h b/include/asm-x86_64/unwind.h
index 4f61de246179..f3e7124effe3 100644
--- a/include/asm-x86_64/unwind.h
+++ b/include/asm-x86_64/unwind.h
@@ -75,10 +75,10 @@ static inline void arch_unw_init_blocked(struct unwind_frame_info *info)
75 info->regs.ss = __KERNEL_DS; 75 info->regs.ss = __KERNEL_DS;
76} 76}
77 77
78extern void arch_unwind_init_running(struct unwind_frame_info *, 78extern int arch_unwind_init_running(struct unwind_frame_info *,
79 void (*callback)(struct unwind_frame_info *, 79 int (*callback)(struct unwind_frame_info *,
80 void *arg), 80 void *arg),
81 void *arg); 81 void *arg);
82 82
83static inline int arch_unw_user_mode(const struct unwind_frame_info *info) 83static inline int arch_unw_user_mode(const struct unwind_frame_info *info)
84{ 84{