All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.5.40 snapshot ia32 discontig compilefix
@ 2002-10-06  0:05 ` William Lee Irwin III
  0 siblings, 0 replies; 2+ messages in thread
From: William Lee Irwin III @ 2002-10-06  0:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-mm, akpm

Encountered while attempting to compile a recent snapshot.
MAP_NR_DENSE() is not currently used so either of ->spanned_pages
or ->present_pages would be acceptable, and they should hopefully be
identical -- if not so, then other setup code is incorrect.

akpm, I'm not sure of the state of your pending queue, so if this is
already fixed there just ignore it.


Bill

--- linux-old/arch/i386/mm/discontig.c	Thu Sep 19 14:26:01 2002
+++ linux-wli/arch/i386/mm/discontig.c	Sat Oct  5 16:54:46 2002
@@ -258,7 +258,7 @@
 		unsigned long node_pfn, node_high_size, zone_start_pfn;
 		struct page * zone_mem_map;
 		
-		node_high_size = NODE_DATA(nid)->node_zones[ZONE_HIGHMEM].size;
+		node_high_size = NODE_DATA(nid)->node_zones[ZONE_HIGHMEM].spanned_pages;
 		zone_mem_map = NODE_DATA(nid)->node_zones[ZONE_HIGHMEM].zone_mem_map;
 		zone_start_pfn = NODE_DATA(nid)->node_zones[ZONE_HIGHMEM].zone_start_pfn;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 2.5.40 snapshot ia32 discontig compilefix
@ 2002-10-06  0:05 ` William Lee Irwin III
  0 siblings, 0 replies; 2+ messages in thread
From: William Lee Irwin III @ 2002-10-06  0:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-mm, akpm

Encountered while attempting to compile a recent snapshot.
MAP_NR_DENSE() is not currently used so either of ->spanned_pages
or ->present_pages would be acceptable, and they should hopefully be
identical -- if not so, then other setup code is incorrect.

akpm, I'm not sure of the state of your pending queue, so if this is
already fixed there just ignore it.


Bill

--- linux-old/arch/i386/mm/discontig.c	Thu Sep 19 14:26:01 2002
+++ linux-wli/arch/i386/mm/discontig.c	Sat Oct  5 16:54:46 2002
@@ -258,7 +258,7 @@
 		unsigned long node_pfn, node_high_size, zone_start_pfn;
 		struct page * zone_mem_map;
 		
-		node_high_size = NODE_DATA(nid)->node_zones[ZONE_HIGHMEM].size;
+		node_high_size = NODE_DATA(nid)->node_zones[ZONE_HIGHMEM].spanned_pages;
 		zone_mem_map = NODE_DATA(nid)->node_zones[ZONE_HIGHMEM].zone_mem_map;
 		zone_start_pfn = NODE_DATA(nid)->node_zones[ZONE_HIGHMEM].zone_start_pfn;
 
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-06  0:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-06  0:05 2.5.40 snapshot ia32 discontig compilefix William Lee Irwin III
2002-10-06  0:05 ` William Lee Irwin III

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.