diff options
author | Andi Kleen <ak@suse.de> | 2005-09-12 12:49:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-12 13:49:55 -0400 |
commit | 0b07e984fc7a51b1a7c75e1bfdcf59d1ad065353 (patch) | |
tree | 84477039c897553359694020e767638a830f4f15 /include/asm-x86_64/numa.h | |
parent | f1f4e83fd9b5ce77d05825586d0426a54b8f3a68 (diff) |
[PATCH] x86-64: Don't assign CPU numbers in SRAT parsing
Do that later when the CPU boots. SRAT just stores the APIC<->Node
mapping node. This fixes problems on systems where the order
of SRAT entries does not match the MADT.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/numa.h')
-rw-r--r-- | include/asm-x86_64/numa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86_64/numa.h b/include/asm-x86_64/numa.h index 5c363a1482e4..3aaf70027213 100644 --- a/include/asm-x86_64/numa.h +++ b/include/asm-x86_64/numa.h | |||
@@ -16,6 +16,8 @@ extern void numa_add_cpu(int cpu); | |||
16 | extern void numa_init_array(void); | 16 | extern void numa_init_array(void); |
17 | extern int numa_off; | 17 | extern int numa_off; |
18 | 18 | ||
19 | extern unsigned char apicid_to_node[256]; | ||
20 | |||
19 | #define NUMA_NO_NODE 0xff | 21 | #define NUMA_NO_NODE 0xff |
20 | 22 | ||
21 | #endif | 23 | #endif |