sched: add exported arch_reinit_sched_domains() to header file.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 12 Mar 2008 17:31:58 +0000 (18:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 21 Mar 2008 15:43:47 +0000 (16:43 +0100)
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>
include/linux/sched.h
kernel/sched.c

index 3625fcaf5d0f2e3f08ff928a567793aa8f890309..fed07d03364e869df06d7f1405d23d75850fe2b7 100644 (file)
@@ -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 */
 
index 573179eb553e346488f43fa21a2ef07ff1e52085..78482e51b58353969fb346cbc8bbc848d93c4042 100644 (file)
@@ -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;