aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 7ee675ad101e..3c9f7f881125 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1667,9 +1667,8 @@ void __init memmap_init_zone(unsigned long size, int nid, unsigned long zone,
1667#ifdef WANT_PAGE_VIRTUAL 1667#ifdef WANT_PAGE_VIRTUAL
1668 /* The shift won't overflow because ZONE_NORMAL is below 4G. */ 1668 /* The shift won't overflow because ZONE_NORMAL is below 4G. */
1669 if (!is_highmem_idx(zone)) 1669 if (!is_highmem_idx(zone))
1670 set_page_address(page, __va(start_pfn << PAGE_SHIFT)); 1670 set_page_address(page, __va(pfn << PAGE_SHIFT));
1671#endif 1671#endif
1672 start_pfn++;
1673 } 1672 }
1674} 1673}
1675 1674