Re: [PATCH] x86: fix fail with 64g above system with numa32

From: Ingo Molnar
Date: Tue Jun 10 2008 - 05:54:20 EST



* Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:

> +++ b/arch/x86/kernel/srat_32.c 2008-06-06 17:38:38.000000000 -0700
> @@ -251,7 +251,7 @@ static int __init acpi20_parse_srat(stru
>
> 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);

applied to tip/x86/mpparse, thanks.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/