projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b766f
)
[PATCH] Check for end of stack trace before falling back
author
Andi Kleen
<ak@suse.de>
Tue, 26 Sep 2006 08:52:34 +0000
(10:52 +0200)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:34 +0000
(10:52 +0200)
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/traps.c
b/arch/x86_64/kernel/traps.c
index 4ac18b02eada231e6e9effdc102eb958cdefbfb0..28e53342f294f2326162588f4d368db3b2a64562 100644
(file)
--- a/
arch/x86_64/kernel/traps.c
+++ b/
arch/x86_64/kernel/traps.c
@@
-292,6
+292,8
@@
void dump_trace(struct task_struct *tsk, struct pt_regs *regs, unsigned long * s
if ((long)UNW_SP(&info) < 0) {
ops->warning(data, "Leftover inexact backtrace:\n");
stack = (unsigned long *)UNW_SP(&info);
+ if (!stack)
+ return;
} else
ops->warning(data, "Full inexact backtrace again:\n");
} else if (call_trace >= 1)