diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/show_mem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/show_mem.c b/lib/show_mem.c index f58689f5a24e..09225796991a 100644 --- a/lib/show_mem.c +++ b/lib/show_mem.c | |||
@@ -43,4 +43,7 @@ void show_mem(unsigned int filter) | |||
43 | printk("%lu pages in pagetable cache\n", | 43 | printk("%lu pages in pagetable cache\n", |
44 | quicklist_total_size()); | 44 | quicklist_total_size()); |
45 | #endif | 45 | #endif |
46 | #ifdef CONFIG_MEMORY_FAILURE | ||
47 | printk("%lu pages hwpoisoned\n", atomic_long_read(&num_poisoned_pages)); | ||
48 | #endif | ||
46 | } | 49 | } |