Fix sched make domain setup overridable
PATCH 1/1 Fix sched make domain setup overridable
Builds of 2.6.9-rc1-mm5 ia64 NUMA configs fail, with many complaints that SD_NODE_INIT is defined twice, in asm/processor.h and linux/sched.h.
I guess that the preprocessor conditionals were wrong when Nick added the per-arch override ability again of SD_NODE_INIT were wrong. At least this change lets me rebuild ia64 again.
Someone with more clues in this than I should check this.
Signed-off-by Paul Jackson <[email protected]>
include/linux/sched.h +1 -1
@@ -528,7 +528,7 @@ extern void cpu_attach_domain(struct sch .nr_balance_failed = 0, \ } -#ifdef CONFIG_NUMA +#if defined(CONFIG_NUMA ) && !defined(SD_NODE_INIT )#define SD_NODE_INIT (struct sched_domain) { \ .span = CPU_MASK_NONE, \ .parent = NULL, \
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.650.933.1373