Skip to content

Commit

Permalink
sched: add exported arch_reinit_sched_domains() to header file.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Ingo Molnar committed Mar 21, 2008
1 parent 23e3c3c commit 9aefd0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
2 changes: 1 addition & 1 deletion kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9aefd0a

Please sign in to comment.