mm, show_mem: suppress page counts in non-blockable contexts
[pandora-kernel.git] / arch / ia64 / mm / discontig.c
index c641333..2230817 100644 (file)
@@ -623,6 +623,8 @@ void show_mem(unsigned int filter)
 
        printk(KERN_INFO "Mem-info:\n");
        show_free_areas(filter);
+       if (filter & SHOW_MEM_FILTER_PAGE_COUNT)
+               return;
        printk(KERN_INFO "Node memory in pages:\n");
        for_each_online_pgdat(pgdat) {
                unsigned long present;