sched/deadline: Make init_sched_dl_class() __init
authorWanpeng Li <[email protected]>
Wed, 13 May 2015 06:01:02 +0000 (14:01 +0800)
committerIngo Molnar <[email protected]>
Fri, 19 Jun 2015 08:06:46 +0000 (10:06 +0200)
It's a bootstrap function, make init_sched_dl_class() __init.

Signed-off-by: Wanpeng Li <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/deadline.c

index 9cbe1c7fd36e2fee069f740b7553e8b47da0f497..1c4bc31eb0f5de0f35194236a732c7c169d62581 100644 (file)
@@ -1685,7 +1685,7 @@ static void rq_offline_dl(struct rq *rq)
        cpudl_clear_freecpu(&rq->rd->cpudl, rq->cpu);
 }
 
-void init_sched_dl_class(void)
+void __init init_sched_dl_class(void)
 {
        unsigned int i;