[PATCH] x86: cleanup "idle=mwait" removal warning message

From: NÃmeth MÃrton
Date: Sat Jun 04 2011 - 03:35:43 EST


From: MÃrton NÃmeth <nm127@xxxxxxxxxxx>

Cleanup the warning message. This will remove the following warning message
when compiling:

* arch/x86/kernel/process.c:645:1: warning: unknown escape sequence '\i'

Signed-off-by: MÃrton NÃmeth <nm127@xxxxxxxxxxx>
---
--- linux-3.0-rc1/arch/x86/kernel/process.c.orig 2011-06-03 23:56:51.000000000 +0200
+++ linux-3.0-rc1/arch/x86/kernel/process.c 2011-06-04 07:23:54.000000000 +0200
@@ -642,7 +642,7 @@ static int __init idle_setup(char *str)
boot_option_idle_override = IDLE_POLL;
} else if (!strcmp(str, "mwait")) {
boot_option_idle_override = IDLE_FORCE_MWAIT;
- WARN_ONCE(1, "\idle=mwait\" will be removed in 2012\"\n");
+ WARN_ONCE(1, "\"idle=mwait\" will be removed in 2012\n");
} else if (!strcmp(str, "halt")) {
/*
* When the boot option of idle=halt is added, halt is
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/