forked from Minki/linux
m68k/mm: Modernize printing of kernel messages
Convert from printk() to pr_*(). Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
parent
05b70ff69c
commit
e6991137a3
@ -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();
|
end = (unsigned long)phys_to_virt(info->addr + info->size - 1) >> __virt_to_node_shift();
|
||||||
for (; i <= end; i++) {
|
for (; i <= end; i++) {
|
||||||
if (pg_data_table[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;
|
pg_data_table[i] = pg_data_map + node;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -47,9 +47,7 @@ void __init init_pointer_table(unsigned long ptable)
|
|||||||
}
|
}
|
||||||
|
|
||||||
PD_MARKBITS(dp) &= ~mask;
|
PD_MARKBITS(dp) &= ~mask;
|
||||||
#ifdef DEBUG
|
pr_debug("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp));
|
||||||
printk("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* unreserve the page so it's possible to free that page */
|
/* unreserve the page so it's possible to free that page */
|
||||||
PD_PAGE(dp)->flags &= ~(1 << PG_reserved);
|
PD_PAGE(dp)->flags &= ~(1 << PG_reserved);
|
||||||
|
Loading…
Reference in New Issue
Block a user