lkml.org 
[lkml]   [2002]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.5.40 snapshot ia32 discontig compilefix
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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.025 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site