diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-03-12 18:31:58 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-03-21 16:43:47 +0100 |
commit | 9aefd0abd8610e8f3bb097debf3afb73f8b7b210 (patch) | |
tree | 3456c6949cd8b9c926aa9beef7c9bf99d0a84caa | |
parent | 23e3c3cd2e39a3c9d07ee07d882c8cf6ddd61c86 (diff) | |
download | blackbird-op-linux-9aefd0abd8610e8f3bb097debf3afb73f8b7b210.tar.gz blackbird-op-linux-9aefd0abd8610e8f3bb097debf3afb73f8b7b210.zip |
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>
-rw-r--r-- | include/linux/sched.h | 1 | ||||
-rw-r--r-- | kernel/sched.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 3625fcaf5d0f..fed07d03364e 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -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 */ diff --git a/kernel/sched.c b/kernel/sched.c index 573179eb553e..78482e51b583 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -6920,7 +6920,7 @@ match2: } #if defined(CONFIG_SCHED_MC) || defined(CONFIG_SCHED_SMT) -static int arch_reinit_sched_domains(void) +int arch_reinit_sched_domains(void) { int err; |