summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2006-02-04 23:27:51 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-05 11:06:52 -0800
commit165a2c1d514892ae917cdf80be9e5269015c1034 (patch)
treec092522208b8a8dad09fd9ad4cd116edb6ce6cbe /arch/i386
parentc2b507fda390b8ae90deba9b8cdc3fe727482193 (diff)
[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 <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/traps.c3
1 files changed, 2 insertions, 1 deletions
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");
}
}