Skip to content

Commit

Permalink
x86: fix boot failure with 64GB+ system with numa 32-bit
Browse files Browse the repository at this point in the history
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jun 10, 2008
1 parent 9043f00 commit c3ff016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/srat_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ static int __init acpi20_parse_srat(struct acpi_table_srat *sratp)

for_each_online_node(nid) {
unsigned long start = node_start_pfn[nid];
unsigned long end = node_end_pfn[nid];
unsigned long end = min(node_end_pfn[nid], max_pfn);

memory_present(nid, start, end);
node_remap_size[nid] = node_memmap_size_bytes(nid, start, end);
Expand Down

0 comments on commit c3ff016

Please sign in to comment.