diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-12-06 19:47:39 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-02-12 10:36:53 +0100 |
commit | e6991137a3895b8ee2096fd2259b1f0be95843d0 (patch) | |
tree | cffce3da0206adef0749102a85653a449788f63b /arch/m68k | |
parent | 05b70ff69cdaf0b84f231c2460bf08b27bad3e95 (diff) | |
download | op-kernel-dev-e6991137a3895b8ee2096fd2259b1f0be95843d0.zip op-kernel-dev-e6991137a3895b8ee2096fd2259b1f0be95843d0.tar.gz |
m68k/mm: Modernize printing of kernel messages
Convert from printk() to pr_*().
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/mm/init.c | 2 | ||||
-rw-r--r-- | arch/m68k/mm/memory.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c index 9c1e656..a6ffead 100644 --- a/arch/m68k/mm/init.c +++ b/arch/m68k/mm/init.c @@ -66,7 +66,7 @@ void __init m68k_setup_node(int node) end = (unsigned long)phys_to_virt(info->addr + info->size - 1) >> __virt_to_node_shift(); for (; i <= end; i++) { if (pg_data_table[i]) - printk("overlap at %u for chunk %u\n", i, node); + pr_warn("overlap at %u for chunk %u\n", i, node); pg_data_table[i] = pg_data_map + node; } #endif diff --git a/arch/m68k/mm/memory.c b/arch/m68k/mm/memory.c index 51bc9d25..4902b68 100644 --- a/arch/m68k/mm/memory.c +++ b/arch/m68k/mm/memory.c @@ -47,9 +47,7 @@ void __init init_pointer_table(unsigned long ptable) } PD_MARKBITS(dp) &= ~mask; -#ifdef DEBUG - printk("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp)); -#endif + pr_debug("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp)); /* unreserve the page so it's possible to free that page */ PD_PAGE(dp)->flags &= ~(1 << PG_reserved); |