summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-06-15 13:34:19 +0800
committerIngo Molnar <mingo@elte.hu>2009-06-17 16:08:04 +0200
commitfd5e1b5dbaa8b4aacc0e251d74182eda37062194 (patch)
treecba4e780784649fe9c9535b8d5ac1617f52e1a15 /kernel/sched.c
parent84599f8a59e77699f18f06948cea171a349a3f0f (diff)
downloadop-kernel-dev-fd5e1b5dbaa8b4aacc0e251d74182eda37062194.zip
op-kernel-dev-fd5e1b5dbaa8b4aacc0e251d74182eda37062194.tar.gz
sched: Remove unneeded __ref tag
Those two functions no longer call alloc_bootmmem_cpumask_var(), so no need to tag them with __init_refok. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> LKML-Reference: <4A35DD5B.9050106@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 8fb88a9..0056795 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7828,7 +7828,7 @@ static void rq_attach_root(struct rq *rq, struct root_domain *rd)
free_rootdomain(old_rd);
}
-static int __init_refok init_rootdomain(struct root_domain *rd, bool bootmem)
+static int init_rootdomain(struct root_domain *rd, bool bootmem)
{
gfp_t gfp = GFP_KERNEL;
OpenPOWER on IntegriCloud