]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] x86: fix stack trace facility level
authorHugh Dickins <hugh@veritas.com>
Sun, 5 Feb 2006 07:27:51 +0000 (23:27 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 5 Feb 2006 19:06:52 +0000 (11:06 -0800)
dump_stack() on page allocation failure presently has an irritating habit
of shouting just "====" at everyone: please stop it.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/traps.c

index 0aaebf3e1cfa321a6b20f6ade450063f3554e0f7..b85c9e88427dd5f9384cd9da2996191777345da9 100644 (file)
@@ -166,7 +166,8 @@ static void show_trace_log_lvl(struct task_struct *task,
                stack = (unsigned long*)context->previous_esp;
                if (!stack)
                        break;
-               printk(KERN_EMERG " =======================\n");
+               printk(log_lvl);
+               printk(" =======================\n");
        }
 }