aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 5f73106bd8dd..07fe78d01ffd 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -4650,7 +4650,7 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat,
4650 nr_all_pages += freesize; 4650 nr_all_pages += freesize;
4651 4651
4652 zone->spanned_pages = size; 4652 zone->spanned_pages = size;
4653 zone->present_pages = freesize; 4653 zone->present_pages = realsize;
4654 /* 4654 /*
4655 * Set an approximate value for lowmem here, it will be adjusted 4655 * Set an approximate value for lowmem here, it will be adjusted
4656 * when the bootmem allocator frees pages into the buddy system. 4656 * when the bootmem allocator frees pages into the buddy system.