From patchwork Thu Feb 16 20:18:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [2/5] ARM: Add a printk loglevel modifier From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 141680 Message-Id: <1329423490-15580-2-git-send-email-u.kleine-koenig@pengutronix.de> To: linux-arm-kernel@lists.infradead.org, Catalin Marinas Cc: kernel@pengutronix.de Date: Thu, 16 Feb 2012 21:18:07 +0100 This is a needed followup for ARM: protect usage of cr_alignment by #ifdef CONFIG_CPU_CP15 otherwise no newline is printed for !CONFIG_CPU_CP15 Signed-off-by: Uwe Kleine-König --- Should this be folded into the ARM: protect usage of cr_alignment by #ifdef CONFIG_CPU_CP15 patch? Or should it come before it? --- arch/arm/kernel/setup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 50d3df8..23893b1 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -325,7 +325,7 @@ static void __init cacheid_init(void) cacheid = CACHEID_VIVT; } - printk("CPU: %s data cache, %s instruction cache\n", + printk(KERN_INFO "CPU: %s data cache, %s instruction cache\n", cache_is_vivt() ? "VIVT" : cache_is_vipt_aliasing() ? "VIPT aliasing" : cache_is_vipt_nonaliasing() ? "PIPT / VIPT nonaliasing" : "unknown",