From: Hugh Dickins Date: Sun, 5 Feb 2006 07:27:51 +0000 (-0800) Subject: [PATCH] x86: fix stack trace facility level X-Git-Tag: v2.6.16-rc3~160 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=165a2c1d514892ae917cdf80be9e5269015c1034;p=linux-2.6-omap-h63xx.git [PATCH] x86: fix stack trace facility level dump_stack() on page allocation failure presently has an irritating habit of shouting just "====" at everyone: please stop it. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/kernel/traps.c b/arch/i386/kernel/traps.c index 0aaebf3e1cf..b85c9e88427 100644 --- a/arch/i386/kernel/traps.c +++ b/arch/i386/kernel/traps.c @@ -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"); } }