* [patch 2.7.17-rc4] i386: remove junk from stack dump
@ 2006-05-14 23:36 Chuck Ebbert
0 siblings, 0 replies; only message in thread
From: Chuck Ebbert @ 2006-05-14 23:36 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton, Linus Torvalds
i386 stack dump has a "<0>" in the middle of the line and an extra space
between columns in multicolumn mode. Remove those and also remove an
extra blank line of source code.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
---
Can we get this in 2.6.17-final?
--- 2.6.17-rc4-d4.orig/arch/i386/kernel/traps.c
+++ 2.6.17-rc4-d4/arch/i386/kernel/traps.c
@@ -130,9 +130,8 @@ static inline int print_addr_and_symbol(
print_symbol("%s", addr);
printed = (printed + 1) % CONFIG_STACK_BACKTRACE_COLS;
-
if (printed)
- printk(" ");
+ printk(" ");
else
printk("\n");
@@ -212,7 +211,6 @@ static void show_stack_log_lvl(struct ta
}
stack = esp;
- printk(log_lvl);
for(i = 0; i < kstack_depth_to_print; i++) {
if (kstack_end(stack))
break;
--
Chuck
"The x86 isn't all that complex -- it just doesn't make a lot of sense."
-- Mike Johnson
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-14 23:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-14 23:36 [patch 2.7.17-rc4] i386: remove junk from stack dump Chuck Ebbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®