提交 2bce2b54 编写于 作者: A Andi Kleen 提交者: Linus Torvalds

[PATCH] x86-64: reset apicid<->node tables when SRAT cannot be parsed

Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 e58e0d03
......@@ -81,8 +81,11 @@ static __init void cutoff_node(int i, unsigned long start, unsigned long end)
static __init void bad_srat(void)
{
int i;
printk(KERN_ERR "SRAT: SRAT not used.\n");
acpi_numa = -1;
for (i = 0; i < MAX_LOCAL_APIC; i++)
apicid_to_node[i] = NUMA_NO_NODE;
}
static __init inline int srat_disabled(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册