diff options
-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 | ||