sched/deadline: Make init_sched_dl_class() __init
authorWanpeng Li <wanpeng.li@linux.intel.com>
Wed, 13 May 2015 06:01:02 +0000 (14:01 +0800)
committerIngo Molnar <mingo@kernel.org>
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 <wanpeng.li@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Juri Lelli <juri.lelli@arm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1431496867-4194-2-git-send-email-wanpeng.li@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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;