lkml.org 
[lkml]   [2008]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] x86: fix fail with 64g above system with numa32
    Date

    Signed-off-by : Yinghai Lu <yhlu.kernel@gmail.com>

    --- a/arch/x86/kernel/srat_32.c 2008-06-06 17:37:51.000000000 -0700
    +++ 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);
    node_remap_size[nid] = node_memmap_size_bytes(nid, start, end);

    \
     
     \ /
      Last update: 2008-06-07 03:57    [W:2.375 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site