mm, show_mem: suppress page counts in non-blockable contexts
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / parisc / mm / init.c
index 3ac462d..cf2da13 100644 (file)
@@ -697,6 +697,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;
 #ifndef CONFIG_DISCONTIGMEM
        i = max_mapnr;
        while (i-- > 0) {