Skip to content

Commit e699113

Browse files
committed
m68k/mm: Modernize printing of kernel messages
Convert from printk() to pr_*(). Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 05b70ff commit e699113

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

arch/m68k/mm/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void __init m68k_setup_node(int node)
6666
end = (unsigned long)phys_to_virt(info->addr + info->size - 1) >> __virt_to_node_shift();
6767
for (; i <= end; i++) {
6868
if (pg_data_table[i])
69-
printk("overlap at %u for chunk %u\n", i, node);
69+
pr_warn("overlap at %u for chunk %u\n", i, node);
7070
pg_data_table[i] = pg_data_map + node;
7171
}
7272
#endif

arch/m68k/mm/memory.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ void __init init_pointer_table(unsigned long ptable)
4747
}
4848

4949
PD_MARKBITS(dp) &= ~mask;
50-
#ifdef DEBUG
51-
printk("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp));
52-
#endif
50+
pr_debug("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp));
5351

5452
/* unreserve the page so it's possible to free that page */
5553
PD_PAGE(dp)->flags &= ~(1 << PG_reserved);

0 commit comments

Comments
 (0)