]> git.karo-electronics.de Git - mv-sheeva.git/commit
x86/uv: fix init of memory-less nodes
authorJack Steiner <steiner@sgi.com>
Fri, 17 Apr 2009 14:22:42 +0000 (09:22 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 17 Apr 2009 20:42:12 +0000 (22:42 +0200)
commitdc098551918093901d8ac8936e9d1a1b891b56ed
tree71de92b407ef03fad9b597e331984e6d52f53c83
parent0917798d82212f884fff650e7e520de3b438f947
x86/uv: fix init of memory-less nodes

Add support for nodes that have cpus but no memory.
The current code was failing to add these nodes
to the nodes_present_map.

v2: Fixes case caught by David Rientjes - missed support
    for the x2apic SRAT table.

[ Impact: fix potential boot crash on memory-less UV nodes. ]

Reported-by: David Rientjes <rientjes@google.com>
Signed-off-by: Jack Steiner <steiner@sgi.com>
LKML-Reference: <20090417142242.GA23743@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/srat_64.c