From: Stuart Bennett Date: Wed, 11 Mar 2009 20:29:45 +0000 (+0000) Subject: x86: mmiotrace: quieten spurious warning message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=afcfe024aebd74b0984a41af9a34e009cf5badaf;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git x86: mmiotrace: quieten spurious warning message This message was being incorrectly emitted when using gdb, so compile it out by default for now; there will be a better fix in v2.6.30. Reported-by: Ingo Molnar Signed-off-by: Stuart Bennett Acked-by: Pekka Paalanen Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/mm/kmmio.c b/arch/x86/mm/kmmio.c index 6a518dd08a36..4f115e00486b 100644 --- a/arch/x86/mm/kmmio.c +++ b/arch/x86/mm/kmmio.c @@ -310,7 +310,7 @@ static int post_kmmio_handler(unsigned long condition, struct pt_regs *regs) struct kmmio_context *ctx = &get_cpu_var(kmmio_ctx); if (!ctx->active) { - pr_warning("kmmio: spurious debug trap on CPU %d.\n", + pr_debug("kmmio: spurious debug trap on CPU %d.\n", smp_processor_id()); goto out; }