mm: have zonelist contains structs with both a zone pointer and zone_idx
[sfrench/cifs-2.6.git] / mm / hugetlb.c
index ddd141cad77ff1a75ca4116a01e16be192f437b7..4bced0d705caa0c60659c5445516afa6f3eb8863 100644 (file)
@@ -97,7 +97,8 @@ static struct page *dequeue_huge_page_vma(struct vm_area_struct *vma,
        struct mempolicy *mpol;
        struct zonelist *zonelist = huge_zonelist(vma, address,
                                        htlb_alloc_mask, &mpol);
-       struct zone *zone, **z;
+       struct zone *zone;
+       struct zoneref *z;
 
        for_each_zone_zonelist(zone, z, zonelist, MAX_NR_ZONES - 1) {
                nid = zone_to_nid(zone);