diff options
| author | Andi Kleen <ak@suse.de> | 2005-09-12 12:49:25 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-12 13:50:58 -0400 |
| commit | 2bce2b54ae91aac76b62e8110b627ba5e5cbbffd (patch) | |
| tree | 29c389d7ce587056a833abd75c26ea82cd516b6e | |
| parent | e58e0d03120d6c2aa134fd3be4f0f762f0bb25e7 (diff) | |
[PATCH] x86-64: reset apicid<->node tables when SRAT cannot be parsed
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | arch/x86_64/mm/srat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86_64/mm/srat.c b/arch/x86_64/mm/srat.c index d66b814e5033..07bf13fbcf84 100644 --- a/arch/x86_64/mm/srat.c +++ b/arch/x86_64/mm/srat.c | |||
| @@ -81,8 +81,11 @@ static __init void cutoff_node(int i, unsigned long start, unsigned long end) | |||
| 81 | 81 | ||
| 82 | static __init void bad_srat(void) | 82 | static __init void bad_srat(void) |
| 83 | { | 83 | { |
| 84 | int i; | ||
| 84 | printk(KERN_ERR "SRAT: SRAT not used.\n"); | 85 | printk(KERN_ERR "SRAT: SRAT not used.\n"); |
| 85 | acpi_numa = -1; | 86 | acpi_numa = -1; |
| 87 | for (i = 0; i < MAX_LOCAL_APIC; i++) | ||
| 88 | apicid_to_node[i] = NUMA_NO_NODE; | ||
| 86 | } | 89 | } |
| 87 | 90 | ||
| 88 | static __init inline int srat_disabled(void) | 91 | static __init inline int srat_disabled(void) |
