diff options
Diffstat (limited to 'arch/powerpc/mm/numa.c')
-rw-r--r-- | arch/powerpc/mm/numa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 33d67844062c..078d3e00a616 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c | |||
@@ -938,8 +938,7 @@ static void __init mark_reserved_regions_for_nid(int nid) | |||
938 | unsigned long start_pfn = physbase >> PAGE_SHIFT; | 938 | unsigned long start_pfn = physbase >> PAGE_SHIFT; |
939 | unsigned long end_pfn = PFN_UP(physbase + size); | 939 | unsigned long end_pfn = PFN_UP(physbase + size); |
940 | struct node_active_region node_ar; | 940 | struct node_active_region node_ar; |
941 | unsigned long node_end_pfn = node->node_start_pfn + | 941 | unsigned long node_end_pfn = pgdat_end_pfn(node); |
942 | node->node_spanned_pages; | ||
943 | 942 | ||
944 | /* | 943 | /* |
945 | * Check to make sure that this memblock.reserved area is | 944 | * Check to make sure that this memblock.reserved area is |