Skip to contentSkip to conversation

i386: remove junk from stack dump

PATCH New Chuck Ebbert 1 participant 1 message May 14, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386: remove junk from stack dump

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.

---

Can we get this in 2.6.17-final?

arch/i386/kernel/traps.c +1 -3
@@ -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;
Signature · 4 lines
Chuck

"The x86 isn't all that complex -- it just doesn't make a lot of sense."
                                                        -- Mike Johnson