diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-03-12 13:31:58 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-03-21 11:43:47 -0400 |
commit | 9aefd0abd8610e8f3bb097debf3afb73f8b7b210 (patch) | |
tree | 3456c6949cd8b9c926aa9beef7c9bf99d0a84caa | |
parent | 23e3c3cd2e39a3c9d07ee07d882c8cf6ddd61c86 (diff) |
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 { | |||
790 | }; | 790 | }; |
791 | 791 | ||
792 | extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new); | 792 | extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new); |
793 | extern int arch_reinit_sched_domains(void); | ||
793 | 794 | ||
794 | #endif /* CONFIG_SMP */ | 795 | #endif /* CONFIG_SMP */ |
795 | 796 | ||
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: | |||
6920 | } | 6920 | } |
6921 | 6921 | ||
6922 | #if defined(CONFIG_SCHED_MC) || defined(CONFIG_SCHED_SMT) | 6922 | #if defined(CONFIG_SCHED_MC) || defined(CONFIG_SCHED_SMT) |
6923 | static int arch_reinit_sched_domains(void) | 6923 | int arch_reinit_sched_domains(void) |
6924 | { | 6924 | { |
6925 | int err; | 6925 | int err; |
6926 | 6926 | ||