Make public parts of sched_domains
PATCH 24/28 Make public parts of sched_domains
Make public parts of sched_domains
Put common scheduler domains code into scheduler.c
Signed-off-by Con Kolivas <[email protected]>
include/linux/sched.h +2 -4
@@ -456,13 +456,11 @@ struct sched_domain { #endif }; -extern void cpu_attach_domain (struct sched_domain *sd,int cpu); -#ifdef ARCH_HAS_SCHED_DOMAIN /* Useful helpers that arch setup code may use. Defined in kernel/sched.c */ -extern cpumask_t cpu_isolated_map; +extern void cpu_attach_domain (struct sched_domain *sd,int cpu);extern void init_sched_build_groups (struct sched_group groups[],cpumask_t span,int (*group_fn)(int cpu)); -#endif /* ARCH_HAS_SCHED_DOMAIN */ +extern cpumask_t cpu_isolated_map;#endif /* CONFIG_SMP */
kernel/sched.c +0 -49
61 lines not on this page · raw message
kernel/scheduler.c +50 -0
56 lines not on this page · raw message