mirror of
https://github.com/torvalds/linux.git
synced 2024-09-25 01:13:04 +00:00
[PATCH] powerpc: Less verbose mem configuration output
Quieten some of the debug ram config output. we already print out available memory at KERN_INFO level. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
4baaf0cfda
commit
e110b281dc
|
@ -299,9 +299,9 @@ void __init paging_init(void)
|
||||||
kmap_prot = PAGE_KERNEL;
|
kmap_prot = PAGE_KERNEL;
|
||||||
#endif /* CONFIG_HIGHMEM */
|
#endif /* CONFIG_HIGHMEM */
|
||||||
|
|
||||||
printk(KERN_INFO "Top of RAM: 0x%lx, Total RAM: 0x%lx\n",
|
printk(KERN_DEBUG "Top of RAM: 0x%lx, Total RAM: 0x%lx\n",
|
||||||
top_of_ram, total_ram);
|
top_of_ram, total_ram);
|
||||||
printk(KERN_INFO "Memory hole size: %ldMB\n",
|
printk(KERN_DEBUG "Memory hole size: %ldMB\n",
|
||||||
(top_of_ram - total_ram) >> 20);
|
(top_of_ram - total_ram) >> 20);
|
||||||
/*
|
/*
|
||||||
* All pages are DMA-able so we put them all in the DMA zone.
|
* All pages are DMA-able so we put them all in the DMA zone.
|
||||||
|
@ -380,7 +380,7 @@ void __init mem_init(void)
|
||||||
totalhigh_pages++;
|
totalhigh_pages++;
|
||||||
}
|
}
|
||||||
totalram_pages += totalhigh_pages;
|
totalram_pages += totalhigh_pages;
|
||||||
printk(KERN_INFO "High memory: %luk\n",
|
printk(KERN_DEBUG "High memory: %luk\n",
|
||||||
totalhigh_pages << (PAGE_SHIFT-10));
|
totalhigh_pages << (PAGE_SHIFT-10));
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_HIGHMEM */
|
#endif /* CONFIG_HIGHMEM */
|
||||||
|
|
|
@ -465,9 +465,9 @@ static void __init setup_nonnuma(void)
|
||||||
unsigned long total_ram = lmb_phys_mem_size();
|
unsigned long total_ram = lmb_phys_mem_size();
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
printk(KERN_INFO "Top of RAM: 0x%lx, Total RAM: 0x%lx\n",
|
printk(KERN_DEBUG "Top of RAM: 0x%lx, Total RAM: 0x%lx\n",
|
||||||
top_of_ram, total_ram);
|
top_of_ram, total_ram);
|
||||||
printk(KERN_INFO "Memory hole size: %ldMB\n",
|
printk(KERN_DEBUG "Memory hole size: %ldMB\n",
|
||||||
(top_of_ram - total_ram) >> 20);
|
(top_of_ram - total_ram) >> 20);
|
||||||
|
|
||||||
for (i = 0; i < lmb.memory.cnt; ++i)
|
for (i = 0; i < lmb.memory.cnt; ++i)
|
||||||
|
@ -485,7 +485,7 @@ void __init dump_numa_cpu_topology(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for_each_online_node(node) {
|
for_each_online_node(node) {
|
||||||
printk(KERN_INFO "Node %d CPUs:", node);
|
printk(KERN_DEBUG "Node %d CPUs:", node);
|
||||||
|
|
||||||
count = 0;
|
count = 0;
|
||||||
/*
|
/*
|
||||||
|
@ -521,7 +521,7 @@ static void __init dump_numa_memory_topology(void)
|
||||||
for_each_online_node(node) {
|
for_each_online_node(node) {
|
||||||
unsigned long i;
|
unsigned long i;
|
||||||
|
|
||||||
printk(KERN_INFO "Node %d Memory:", node);
|
printk(KERN_DEBUG "Node %d Memory:", node);
|
||||||
|
|
||||||
count = 0;
|
count = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user