aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Williamson <[alex.williamson@hp.com>2004-08-04 18:26:09 +0000
committerTony Luck <aegl@agluck-lia64.sc.intel.com>2004-08-04 18:26:09 +0000
commita4fbbfdbf1d3ef21b3be18e5288b03df253c6707 (patch)
tree2d82276293b8b6fe102f9dd4f74a345d8a3b1546 /include
parentc04735539c2c55fcb2f4f84bd680bd24fadc8542 (diff)
downloadhistory-a4fbbfdbf1d3ef21b3be18e5288b03df253c6707.tar.gz
Using CONFIG_IA64_HP_ZX1 on an sx1000 system setup w/ multiple NUMA
nodes (configured for cell local memory) currently crashes because MAX_NUMNODES defaults to 1. The patch below sets up things to make this work. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ia64/numnodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ia64/numnodes.h b/include/asm-ia64/numnodes.h
index 217171bc3add97..4fed3ac3c442cb 100644
--- a/include/asm-ia64/numnodes.h
+++ b/include/asm-ia64/numnodes.h
@@ -4,6 +4,9 @@
#ifdef CONFIG_IA64_DIG
/* Max 8 Nodes */
#define NODES_SHIFT 3
+#elif defined(CONFIG_IA64_HP_ZX1)
+/* Max 32 Nodes */
+#define NODES_SHIFT 5
#elif defined(CONFIG_IA64_SGI_SN2) || defined(CONFIG_IA64_GENERIC)
/* Max 256 Nodes */
#define NODES_SHIFT 8