aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-09-12 06:12:24 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2016-09-13 03:37:11 -0400
commit3daf3c206992891ac0cec6a54a893521064a7674 (patch)
tree58c82933abbb024d0b1dd8428248f5aef5cad66b
parentad410674f5606a53ea2f2d45a78448a95e271fa0 (diff)
powerpc/32: Add missing \n and switch to pr_warn()
The message is missing a \n, add it. Switch to pr_warn(), it's shorter and less ugly. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r--arch/powerpc/mm/init_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
index 448685fbf27c..8a7c38b8d335 100644
--- a/arch/powerpc/mm/init_32.c
+++ b/arch/powerpc/mm/init_32.c
@@ -137,7 +137,7 @@ void __init MMU_init(void)
137 if (memblock.memory.cnt > 1) { 137 if (memblock.memory.cnt > 1) {
138#ifndef CONFIG_WII 138#ifndef CONFIG_WII
139 memblock_enforce_memory_limit(memblock.memory.regions[0].size); 139 memblock_enforce_memory_limit(memblock.memory.regions[0].size);
140 printk(KERN_WARNING "Only using first contiguous memory region"); 140 pr_warn("Only using first contiguous memory region\n");
141#else 141#else
142 wii_memory_fixups(); 142 wii_memory_fixups();
143#endif 143#endif