From: Heiko Carstens Date: Wed, 12 Mar 2008 17:31:58 +0000 (+0100) Subject: sched: add exported arch_reinit_sched_domains() to header file. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9aefd0abd8610e8f3bb097debf3afb73f8b7b210;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Martin Schwidefsky Signed-off-by: Ingo Molnar --- diff --git a/include/linux/sched.h b/include/linux/sched.h index 3625fcaf5d0..fed07d03364 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 573179eb553..78482e51b58 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;