aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/topology.h')
-rw-r--r--arch/powerpc/include/asm/topology.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h
index 6a7e7251cc02..d1c1d312f808 100644
--- a/arch/powerpc/include/asm/topology.h
+++ b/arch/powerpc/include/asm/topology.h
@@ -28,6 +28,12 @@ struct device_node;
28 */ 28 */
29#define RECLAIM_DISTANCE 10 29#define RECLAIM_DISTANCE 10
30 30
31/*
32 * Avoid creating an extra level of balancing (SD_ALLNODES) on the largest
33 * POWER7 boxes which have a maximum of 32 nodes.
34 */
35#define SD_NODES_PER_DOMAIN 32
36
31#include <asm/mmzone.h> 37#include <asm/mmzone.h>
32 38
33static inline int cpu_to_node(int cpu) 39static inline int cpu_to_node(int cpu)