sched: fix section mismatch

init_rootdomain() calls alloc_bootmem_cpumask_var() at system boot,
so does cpupri_init().

Signed-off-by: Li Zefan <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
Li Zefan 2009-01-06 17:40:36 +08:00 • committed by Ingo Molnar
commit db2f59c8c9
2 changed files with 2 additions and 2 deletions

View file

@ -6957,7 +6957,7 @@ static void rq_attach_root(struct rq *rq, struct root_domain *rd)
spin_unlock_irqrestore(&rq->lock, flags);
}
static int init_rootdomain(struct root_domain *rd, bool bootmem)
static int __init_refok init_rootdomain(struct root_domain *rd, bool bootmem)
{
memset(rd, 0, sizeof(*rd));