|
@@ -3998,7 +3998,7 @@ void __init add_active_range(unsigned int nid, unsigned long start_pfn,
|
|
}
|
|
}
|
|
|
|
|
|
/* Merge backward if suitable */
|
|
/* Merge backward if suitable */
|
|
- if (start_pfn < early_node_map[i].end_pfn &&
|
|
|
|
|
|
+ if (start_pfn < early_node_map[i].start_pfn &&
|
|
end_pfn >= early_node_map[i].start_pfn) {
|
|
end_pfn >= early_node_map[i].start_pfn) {
|
|
early_node_map[i].start_pfn = start_pfn;
|
|
early_node_map[i].start_pfn = start_pfn;
|
|
return;
|
|
return;
|