Skip to contentSkip to conversation

Make public parts of sched_domains

PATCH In review Con Kolivas 1 participant 1 message Oct 30, 2004 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 24/28 Make public parts of sched_domains

Make public parts of sched_domains

Put common scheduler domains code into scheduler.c

include/linux/sched.h +2 -4
Index: linux-2.6.10-rc1-mm2-plugsched1/include/linux/sched.h
===================================================================
@@ -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