projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
834beda
)
x86: fix early NUMA-id access
author
Mike Travis
<travis@sgi.com>
Wed, 30 Jan 2008 12:33:21 +0000
(13:33 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:33:21 +0000
(13:33 +0100)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/srat_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/srat_64.c
b/arch/x86/mm/srat_64.c
index 04cbecaeca81e3f0e0249f298a981e152d7bff24..f828e6a6973db24cf1936f1c4c467e95de093da3 100644
(file)
--- a/
arch/x86/mm/srat_64.c
+++ b/
arch/x86/mm/srat_64.c
@@
-382,7
+382,8
@@
int __init acpi_scan_nodes(unsigned long start, unsigned long end)
setup_node_bootmem(i, nodes[i].start, nodes[i].end);
for (i = 0; i < NR_CPUS; i++) {
- int node = cpu_to_node(i);
+ int node = early_cpu_to_node(i);
+
if (node == NUMA_NO_NODE)
continue;
if (!node_isset(node, node_possible_map))