summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/mm/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c
index e9e1104e0567..6fea3b54c961 100644
--- a/arch/mips/mm/init.c
+++ b/arch/mips/mm/init.c
@@ -434,6 +434,8 @@ static inline void __init mem_init_free_highmem(void)
return;
for (tmp = highstart_pfn; tmp < highend_pfn; tmp++) {
+ struct page *page = pfn_to_page(tmp);
+
if (!memblock_is_memory(PFN_PHYS(tmp)))
SetPageReserved(page);
else