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
2 changed files with 2 additions and 1 deletions
|
@ -790,6 +790,7 @@ struct sched_domain {
|
|||
};
|
||||
|
||||
extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new);
|
||||
extern int arch_reinit_sched_domains(void);
|
||||
|
||||
#endif /* CONFIG_SMP */
|
||||
|
||||
|
|
|
@ -6920,7 +6920,7 @@ void partition_sched_domains(int ndoms_new, cpumask_t *doms_new)
|
|||
}
|
||||
|
||||
#if defined(CONFIG_SCHED_MC) || defined(CONFIG_SCHED_SMT)
|
||||
static int arch_reinit_sched_domains(void)
|
||||
int arch_reinit_sched_domains(void)
|
||||
{
|
||||
int err;
|
||||
|
||||
|
|
Loading…
Reference in a new issue