projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58e0d0
)
[PATCH] x86-64: reset apicid<->node tables when SRAT cannot be parsed
author
Andi Kleen
<ak@suse.de>
Mon, 12 Sep 2005 16:49:25 +0000
(18:49 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 12 Sep 2005 17:50:58 +0000
(10:50 -0700)
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/srat.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86_64/mm/srat.c
b/arch/x86_64/mm/srat.c
index d66b814e5033694ed0d925a77324be3336bed65c..07bf13fbcf84cad1f587c4da47b31692b528f5c9 100644
(file)
--- 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)
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)