diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-09-12 12:12:24 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-13 09:37:11 +0200 |
commit | 3daf3c206992891ac0cec6a54a893521064a7674 (patch) | |
tree | 58c82933abbb024d0b1dd8428248f5aef5cad66b /arch/powerpc/mm/init_32.c | |
parent | powerpc/mm: Update the HID bit when switching from radix to hash (diff) | |
download | linux-3daf3c206992891ac0cec6a54a893521064a7674.tar.xz linux-3daf3c206992891ac0cec6a54a893521064a7674.zip |
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>
Diffstat (limited to 'arch/powerpc/mm/init_32.c')
-rw-r--r-- | arch/powerpc/mm/init_32.c | 2 |
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) if (memblock.memory.cnt > 1) { #ifndef CONFIG_WII memblock_enforce_memory_limit(memblock.memory.regions[0].size); - printk(KERN_WARNING "Only using first contiguous memory region"); + pr_warn("Only using first contiguous memory region\n"); #else wii_memory_fixups(); #endif |