[PATCH 2/4] V4 ia64 SPARSEMEM - eliminate contig_page_data

From: Bob Picco <bob.picco_at_hp.com>
Date: 2005-09-23 02:14:34
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>

 arch/ia64/mm/contig.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.14-rc2/arch/ia64/mm/contig.c
===================================================================
--- linux-2.6.14-rc2.orig/arch/ia64/mm/contig.c	2005-09-21 12:28:51.000000000 -0400
+++ linux-2.6.14-rc2/arch/ia64/mm/contig.c	2005-09-21 12:28:56.000000000 -0400
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Sep 23 02:13:08 2005

This archive was generated by hypermail 2.1.8 : 2005-09-23 02:14:45 EST