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 3625fca..fed07d0 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 573179e..78482e5 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;