aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/mm/contig.c
diff options
context:
space:
mode:
authorJes Sorensen <jes@sgi.com>2006-09-13 08:43:42 -0400
committerTony Luck <tony.luck@intel.com>2006-09-26 17:15:54 -0400
commit709a6c1c07673a9f7879b5f7306dc8d723db93a2 (patch)
tree9703e9652852bad1aa55bba3ba91b22fcd710c25 /arch/ia64/mm/contig.c
parentf5a3f3dc189485d607fbd42678cc23958acc0a6e (diff)
[IA64] show_mem() printk levels
Use the default sysrq printk level for printing show_mem() output both for disconfig and contig versions. This is consistent with the printk level used on other architectures (well ia32 at least). Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/mm/contig.c')
-rw-r--r--arch/ia64/mm/contig.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/arch/ia64/mm/contig.c b/arch/ia64/mm/contig.c
index e004143ba86b..537c2f3833ee 100644
--- a/arch/ia64/mm/contig.c
+++ b/arch/ia64/mm/contig.c
@@ -41,10 +41,11 @@ show_mem (void)
41 int i, total = 0, reserved = 0; 41 int i, total = 0, reserved = 0;
42 int shared = 0, cached = 0; 42 int shared = 0, cached = 0;
43 43
44 printk("Mem-info:\n"); 44 printk(KERN_INFO "Mem-info:\n");
45 show_free_areas(); 45 show_free_areas();
46 46
47 printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10)); 47 printk(KERN_INFO "Free swap: %6ldkB\n",
48 nr_swap_pages<<(PAGE_SHIFT-10));
48 i = max_mapnr; 49 i = max_mapnr;
49 for (i = 0; i < max_mapnr; i++) { 50 for (i = 0; i < max_mapnr; i++) {
50 if (!pfn_valid(i)) { 51 if (!pfn_valid(i)) {
@@ -63,12 +64,12 @@ show_mem (void)
63 else if (page_count(mem_map + i)) 64 else if (page_count(mem_map + i))
64 shared += page_count(mem_map + i) - 1; 65 shared += page_count(mem_map + i) - 1;
65 } 66 }
66 printk("%d pages of RAM\n", total); 67 printk(KERN_INFO "%d pages of RAM\n", total);
67 printk("%d reserved pages\n", reserved); 68 printk(KERN_INFO "%d reserved pages\n", reserved);
68 printk("%d pages shared\n", shared); 69 printk(KERN_INFO "%d pages shared\n", shared);
69 printk("%d pages swap cached\n", cached); 70 printk(KERN_INFO "%d pages swap cached\n", cached);
70 printk("%ld pages in page table cache\n", 71 printk(KERN_INFO "%ld pages in page table cache\n",
71 pgtable_quicklist_total_size()); 72 pgtable_quicklist_total_size());
72} 73}
73 74
74/* physical address where the bootmem map is located */ 75/* physical address where the bootmem map is located */