summaryrefslogtreecommitdiffstats
path: root/kernel/lib/show_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/lib/show_mem.c')
-rw-r--r--kernel/lib/show_mem.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/lib/show_mem.c b/kernel/lib/show_mem.c
index adc98e182..1feed6a2b 100644
--- a/kernel/lib/show_mem.c
+++ b/kernel/lib/show_mem.c
@@ -38,11 +38,9 @@ void show_mem(unsigned int filter)
printk("%lu pages RAM\n", total);
printk("%lu pages HighMem/MovableOnly\n", highmem);
+ printk("%lu pages reserved\n", reserved);
#ifdef CONFIG_CMA
- printk("%lu pages reserved\n", (reserved - totalcma_pages));
printk("%lu pages cma reserved\n", totalcma_pages);
-#else
- printk("%lu pages reserved\n", reserved);
#endif
#ifdef CONFIG_QUICKLIST
printk("%lu pages in pagetable cache\n",