From: Hugh Dickins Date: Sun, 5 Feb 2006 07:27:51 +0000 (-0800) Subject: [PATCH] x86: fix stack trace facility level X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=165a2c1d514892ae917cdf80be9e5269015c1034;p=openwrt%2Fstaging%2Fblogic.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 0aaebf3e1cfa..b85c9e88427d 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"); } }