summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-07-24 18:33:13 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-20 07:53:21 +0200
commit590e4d857153c5d4cf86052cdfd42cf9b0779841 (patch)
treeb8de0d7c163b81050f8c95f1b59ccbf05aed5d8f /kernel/sched.c
parentpowerpc/numa: Enable SD_WAKE_AFFINE in node definition (diff)
downloadlinux-590e4d857153c5d4cf86052cdfd42cf9b0779841.tar.xz
linux-590e4d857153c5d4cf86052cdfd42cf9b0779841.zip
sched: Allow SD_NODES_PER_DOMAIN to be overridden
We want to override the default value of SD_NODES_PER_DOMAIN on ppc64, so move it into linux/topology.h. Signed-off-by: Anton Blanchard <anton@samba.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to '')
-rw-r--r--kernel/sched.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index ec5f472bc5b9..d258b2d9a66d 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -6947,8 +6947,6 @@ static int __init isolated_cpu_setup(char *str)
__setup("isolcpus=", isolated_cpu_setup);
-#define SD_NODES_PER_DOMAIN 16
-
#ifdef CONFIG_NUMA
/**