Commit 168973c5 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] discontigmem compilation fix

A discontigmem compilation fix From Bill Irwin
parent 4d9835b2
...@@ -258,7 +258,7 @@ void __init set_highmem_pages_init(int bad_ppro) ...@@ -258,7 +258,7 @@ void __init set_highmem_pages_init(int bad_ppro)
unsigned long node_pfn, node_high_size, zone_start_pfn; unsigned long node_pfn, node_high_size, zone_start_pfn;
struct page * zone_mem_map; 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_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; zone_start_pfn = NODE_DATA(nid)->node_zones[ZONE_HIGHMEM].zone_start_pfn;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment