diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/mm/init.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index 9be53024a832..4ec137d13ad7 100644 --- a/arch/microblaze/mm/init.c +++ b/arch/microblaze/mm/init.c | |||
@@ -82,13 +82,9 @@ static unsigned long highmem_setup(void) | |||
82 | /* FIXME not sure about */ | 82 | /* FIXME not sure about */ |
83 | if (memblock_is_reserved(pfn << PAGE_SHIFT)) | 83 | if (memblock_is_reserved(pfn << PAGE_SHIFT)) |
84 | continue; | 84 | continue; |
85 | ClearPageReserved(page); | 85 | free_highmem_page(page); |
86 | init_page_count(page); | ||
87 | __free_page(page); | ||
88 | totalhigh_pages++; | ||
89 | reservedpages++; | 86 | reservedpages++; |
90 | } | 87 | } |
91 | totalram_pages += totalhigh_pages; | ||
92 | pr_info("High memory: %luk\n", | 88 | pr_info("High memory: %luk\n", |
93 | totalhigh_pages << (PAGE_SHIFT-10)); | 89 | totalhigh_pages << (PAGE_SHIFT-10)); |
94 | 90 | ||