Skip to content

Commit

Permalink
[PATCH] V5 ia64 SPARSEMEM - eliminate contig_page_data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bob Picco authored and Tony Luck committed Oct 4, 2005
1 parent da9577c commit c678796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/ia64/mm/contig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit c678796

Please sign in to comment.