aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/numa_64.h
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2008-03-25 10:14:35 -0700
committerIngo Molnar <mingo@elte.hu>2008-04-19 19:19:55 +0200
commit6ec6e0d9f2fd7cb6ca6bc3bfab5ae7b5cdd8c36f (patch)
treebf05991fd8ecf8acd76fc48f5613ddc7bcb6926f /include/asm-x86/numa_64.h
parentx86 vDSO: compile with -g, 64-bit (diff)
downloadlinux-dev-6ec6e0d9f2fd7cb6ca6bc3bfab5ae7b5cdd8c36f.tar.xz
linux-dev-6ec6e0d9f2fd7cb6ca6bc3bfab5ae7b5cdd8c36f.zip
srat, x86: add support for nodes spanning other nodes
For example, If the physical address layout on a two node system with 8 GB memory is something like: node 0: 0-2GB, 4-6GB node 1: 2-4GB, 6-8GB Current kernels fail to boot/detect this NUMA topology. ACPI SRAT tables can expose such a topology which needs to be supported. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/numa_64.h')
-rw-r--r--include/asm-x86/numa_64.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-x86/numa_64.h b/include/asm-x86/numa_64.h
index 32c22ae0709f..22e87c9f6a80 100644
--- a/include/asm-x86/numa_64.h
+++ b/include/asm-x86/numa_64.h
@@ -9,7 +9,8 @@ struct bootnode {
u64 end;
};
-extern int compute_hash_shift(struct bootnode *nodes, int numnodes);
+extern int compute_hash_shift(struct bootnode *nodes, int numblks,
+ int *nodeids);
#define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT))