diff options
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index c3edb624fccf..2ee0fd313f03 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -6142,6 +6142,10 @@ __offline_isolated_pages(unsigned long start_pfn, unsigned long end_pfn) | |||
6142 | list_del(&page->lru); | 6142 | list_del(&page->lru); |
6143 | rmv_page_order(page); | 6143 | rmv_page_order(page); |
6144 | zone->free_area[order].nr_free--; | 6144 | zone->free_area[order].nr_free--; |
6145 | #ifdef CONFIG_HIGHMEM | ||
6146 | if (PageHighMem(page)) | ||
6147 | totalhigh_pages -= 1 << order; | ||
6148 | #endif | ||
6145 | for (i = 0; i < (1 << order); i++) | 6149 | for (i = 0; i < (1 << order); i++) |
6146 | SetPageReserved((page+i)); | 6150 | SetPageReserved((page+i)); |
6147 | pfn += (1 << order); | 6151 | pfn += (1 << order); |