ath10k: rename ath10k_pci_hif_dump_area() to ath10k_pci_fw_crashed_dump()
[cascardo/linux.git] / lib / show_mem.c
index 5847a49..0922579 100644 (file)
@@ -17,9 +17,6 @@ void show_mem(unsigned int filter)
        printk("Mem-Info:\n");
        show_free_areas(filter);
 
-       if (filter & SHOW_MEM_FILTER_PAGE_COUNT)
-               return;
-
        for_each_online_pgdat(pgdat) {
                unsigned long flags;
                int zoneid;
@@ -46,4 +43,7 @@ void show_mem(unsigned int filter)
        printk("%lu pages in pagetable cache\n",
                quicklist_total_size());
 #endif
+#ifdef CONFIG_MEMORY_FAILURE
+       printk("%lu pages hwpoisoned\n", atomic_long_read(&num_poisoned_pages));
+#endif
 }