[PATCH] fix 256 node machines by increasing NODES_SHIFT value

From: Jesse Barnes <jbarnes_at_sgi.com>
Date: 2003-11-05 05:56:19
We need 8 bits for the NODE_SHIFT otherwise 256 node systems fail in
weird ways.

Thanks,
Jesse

===== include/asm-ia64/numnodes.h 1.3 vs edited =====
--- 1.3/include/asm-ia64/numnodes.h	Wed Oct 22 06:26:08 2003
+++ edited/include/asm-ia64/numnodes.h	Tue Nov  4 10:48:55 2003
@@ -5,8 +5,8 @@
 /* Max 8 Nodes */
 #define NODES_SHIFT	3
 #elif defined(CONFIG_IA64_SGI_SN2) || defined(CONFIG_IA64_GENERIC)
-/* Max 128 Nodes */
-#define NODES_SHIFT	7
+/* Max 256 Nodes */
+#define NODES_SHIFT	8
 #endif
 
 #endif /* _ASM_MAX_NUMNODES_H */
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Nov 4 13:57:10 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:20 EST