[PATCH] V5 ia64 SPARSEMEM - eliminate contig_page_data
authorBob Picco <bob.picco@hp.com>
Tue, 4 Oct 2005 19:13:44 +0000 (15:13 -0400)
committerTony Luck <tony.luck@intel.com>
Tue, 4 Oct 2005 20:20:23 +0000 (13:20 -0700)
For FLATMEM contig_page_data has been made transparent to the arch code.
This patch conforms to that change.

Signed-off-by: Bob Picco <bob.picco@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/contig.c

index 91a055f5731f4df3043c2fa9b4a1daeb6f398821..acaaec4e46811bdf697fdd96bbd37ac9a41dd6b5 100644 (file)
@@ -269,7 +269,7 @@ paging_init (void)
        efi_memmap_walk(find_largest_hole, (u64 *)&max_gap);
        if (max_gap < LARGE_GAP) {
                vmem_map = (struct page *) 0;
-               free_area_init_node(0, &contig_page_data, zones_size, 0,
+               free_area_init_node(0, NODE_DATA(0), zones_size, 0,
                                    zholes_size);
        } else {
                unsigned long map_size;
@@ -282,7 +282,7 @@ paging_init (void)
                efi_memmap_walk(create_mem_map_page_table, NULL);
 
                NODE_DATA(0)->node_mem_map = vmem_map;
-               free_area_init_node(0, &contig_page_data, zones_size,
+               free_area_init_node(0, NODE_DATA(0), zones_size,
                                    0, zholes_size);
 
                printk("Virtual mem_map starts at 0x%p\n", mem_map);