diff options
author | Anton Blanchard <anton@samba.org> | 2014-12-10 18:42:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 20:41:05 -0500 |
commit | f88dfff5f160aa43d4a434f8d638c07c82b5ad47 (patch) | |
tree | 04e774690f1664a429b5ed087a76355e9d051ad7 /mm | |
parent | 6d3d6aa22af30580cde0d2e23890027bb47a3544 (diff) |
mm/page_alloc.c: convert boot printks without log level to pr_info
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 616a2c956b4b..701fe9018fdc 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -3893,14 +3893,14 @@ void __ref build_all_zonelists(pg_data_t *pgdat, struct zone *zone) | |||
3893 | else | 3893 | else |
3894 | page_group_by_mobility_disabled = 0; | 3894 | page_group_by_mobility_disabled = 0; |
3895 | 3895 | ||
3896 | printk("Built %i zonelists in %s order, mobility grouping %s. " | 3896 | pr_info("Built %i zonelists in %s order, mobility grouping %s. " |
3897 | "Total pages: %ld\n", | 3897 | "Total pages: %ld\n", |
3898 | nr_online_nodes, | 3898 | nr_online_nodes, |
3899 | zonelist_order_name[current_zonelist_order], | 3899 | zonelist_order_name[current_zonelist_order], |
3900 | page_group_by_mobility_disabled ? "off" : "on", | 3900 | page_group_by_mobility_disabled ? "off" : "on", |
3901 | vm_total_pages); | 3901 | vm_total_pages); |
3902 | #ifdef CONFIG_NUMA | 3902 | #ifdef CONFIG_NUMA |
3903 | printk("Policy zone: %s\n", zone_names[policy_zone]); | 3903 | pr_info("Policy zone: %s\n", zone_names[policy_zone]); |
3904 | #endif | 3904 | #endif |
3905 | } | 3905 | } |
3906 | 3906 | ||
@@ -5334,33 +5334,33 @@ void __init free_area_init_nodes(unsigned long *max_zone_pfn) | |||
5334 | find_zone_movable_pfns_for_nodes(); | 5334 | find_zone_movable_pfns_for_nodes(); |
5335 | 5335 | ||
5336 | /* Print out the zone ranges */ | 5336 | /* Print out the zone ranges */ |
5337 | printk("Zone ranges:\n"); | 5337 | pr_info("Zone ranges:\n"); |
5338 | for (i = 0; i < MAX_NR_ZONES; i++) { | 5338 | for (i = 0; i < MAX_NR_ZONES; i++) { |
5339 | if (i == ZONE_MOVABLE) | 5339 | if (i == ZONE_MOVABLE) |
5340 | continue; | 5340 | continue; |
5341 | printk(KERN_CONT " %-8s ", zone_names[i]); | 5341 | pr_info(" %-8s ", zone_names[i]); |
5342 | if (arch_zone_lowest_possible_pfn[i] == | 5342 | if (arch_zone_lowest_possible_pfn[i] == |
5343 | arch_zone_highest_possible_pfn[i]) | 5343 | arch_zone_highest_possible_pfn[i]) |
5344 | printk(KERN_CONT "empty\n"); | 5344 | pr_cont("empty\n"); |
5345 | else | 5345 | else |
5346 | printk(KERN_CONT "[mem %0#10lx-%0#10lx]\n", | 5346 | pr_cont("[mem %0#10lx-%0#10lx]\n", |
5347 | arch_zone_lowest_possible_pfn[i] << PAGE_SHIFT, | 5347 | arch_zone_lowest_possible_pfn[i] << PAGE_SHIFT, |
5348 | (arch_zone_highest_possible_pfn[i] | 5348 | (arch_zone_highest_possible_pfn[i] |
5349 | << PAGE_SHIFT) - 1); | 5349 | << PAGE_SHIFT) - 1); |
5350 | } | 5350 | } |
5351 | 5351 | ||
5352 | /* Print out the PFNs ZONE_MOVABLE begins at in each node */ | 5352 | /* Print out the PFNs ZONE_MOVABLE begins at in each node */ |
5353 | printk("Movable zone start for each node\n"); | 5353 | pr_info("Movable zone start for each node\n"); |
5354 | for (i = 0; i < MAX_NUMNODES; i++) { | 5354 | for (i = 0; i < MAX_NUMNODES; i++) { |
5355 | if (zone_movable_pfn[i]) | 5355 | if (zone_movable_pfn[i]) |
5356 | printk(" Node %d: %#010lx\n", i, | 5356 | pr_info(" Node %d: %#010lx\n", i, |
5357 | zone_movable_pfn[i] << PAGE_SHIFT); | 5357 | zone_movable_pfn[i] << PAGE_SHIFT); |
5358 | } | 5358 | } |
5359 | 5359 | ||
5360 | /* Print out the early node map */ | 5360 | /* Print out the early node map */ |
5361 | printk("Early memory node ranges\n"); | 5361 | pr_info("Early memory node ranges\n"); |
5362 | for_each_mem_pfn_range(i, MAX_NUMNODES, &start_pfn, &end_pfn, &nid) | 5362 | for_each_mem_pfn_range(i, MAX_NUMNODES, &start_pfn, &end_pfn, &nid) |
5363 | printk(" node %3d: [mem %#010lx-%#010lx]\n", nid, | 5363 | pr_info(" node %3d: [mem %#010lx-%#010lx]\n", nid, |
5364 | start_pfn << PAGE_SHIFT, (end_pfn << PAGE_SHIFT) - 1); | 5364 | start_pfn << PAGE_SHIFT, (end_pfn << PAGE_SHIFT) - 1); |
5365 | 5365 | ||
5366 | /* Initialise every node */ | 5366 | /* Initialise every node */ |
@@ -5496,7 +5496,7 @@ void __init mem_init_print_info(const char *str) | |||
5496 | 5496 | ||
5497 | #undef adj_init_size | 5497 | #undef adj_init_size |
5498 | 5498 | ||
5499 | printk("Memory: %luK/%luK available " | 5499 | pr_info("Memory: %luK/%luK available " |
5500 | "(%luK kernel code, %luK rwdata, %luK rodata, " | 5500 | "(%luK kernel code, %luK rwdata, %luK rodata, " |
5501 | "%luK init, %luK bss, %luK reserved" | 5501 | "%luK init, %luK bss, %luK reserved" |
5502 | #ifdef CONFIG_HIGHMEM | 5502 | #ifdef CONFIG_HIGHMEM |