public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] V4 ia64 SPARSEMEM - eliminate contig_page_data
@ 2005-09-22 16:14 Bob Picco
  0 siblings, 0 replies; only message in thread
From: Bob Picco @ 2005-09-22 16:14 UTC (permalink / raw)
  To: linux-ia64


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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-22 16:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-22 16:14 [PATCH 2/4] V4 ia64 SPARSEMEM - eliminate contig_page_data Bob Picco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox