diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-01-06 17:40:36 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-06 11:07:15 +0100 |
commit | db2f59c8c9b315f2b88b1dac159b988c6009034d (patch) | |
tree | 93e9d5584356e3f34a297ca45f1d6c17ebac2500 /kernel/sched.c | |
parent | 0c910d289567163dbe40ccc174b36afd1c7723bd (diff) |
sched: fix section mismatch
init_rootdomain() calls alloc_bootmem_cpumask_var() at system boot,
so does cpupri_init().
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 973f97362ce..2e3545f57e7 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -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)); |