mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 17:11:33 +00:00
[PATCH] x86-64: reset apicid<->node tables when SRAT cannot be parsed
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
e58e0d0312
commit
2bce2b54ae
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user