sched: add exported arch_reinit_sched_domains() to header file.
Needed so it can be called from outside of sched.c. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
23e3c3cd2e
commit
9aefd0abd8
|
@ -790,6 +790,7 @@ struct sched_domain {
|
||||||
};
|
};
|
||||||
|
|
||||||
extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new);
|
extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new);
|
||||||
|
extern int arch_reinit_sched_domains(void);
|
||||||
|
|
||||||
#endif /* CONFIG_SMP */
|
#endif /* CONFIG_SMP */
|
||||||
|
|
||||||
|
|
|
@ -6920,7 +6920,7 @@ match2:
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CONFIG_SCHED_MC) || defined(CONFIG_SCHED_SMT)
|
#if defined(CONFIG_SCHED_MC) || defined(CONFIG_SCHED_SMT)
|
||||||
static int arch_reinit_sched_domains(void)
|
int arch_reinit_sched_domains(void)
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue