sched/core: Remove __cpuinit section tag that crept back in
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 27 Apr 2015 22:47:50 +0000 (18:47 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 8 May 2015 09:54:43 +0000 (11:54 +0200)
We removed __cpuinit support (leaving no-op stubs) quite some time
ago.  However this one crept back in as of commit a803f0261bb2bb57aab
("sched: Initialize rq->age_stamp on processor start")

Since we want to clobber the stubs too, get this removed now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Corey Minyard <cminyard@mvista.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1430174880-27958-2-git-send-email-paul.gortmaker@windriver.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c

index fe22f7510bceab3fad0f008379a91f34db074d37..43ba7651d62085cc4bdf284e30ab242cf18530b4 100644 (file)
@@ -5315,7 +5315,7 @@ static struct notifier_block migration_notifier = {
        .priority = CPU_PRI_MIGRATION,
 };
 
-static void __cpuinit set_cpu_rq_start_time(void)
+static void set_cpu_rq_start_time(void)
 {
        int cpu = smp_processor_id();
        struct rq *rq = cpu_rq(cpu);