kernel/cpu.c: remove new instance of __cpuinit that crept back in
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 18 Apr 2015 20:35:10 +0000 (16:35 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 16 Jun 2015 18:12:22 +0000 (14:12 -0400)
We removed __cpuinit support (leaving no-op stubs) quite some time ago.
However a new instance was added in commit 00df35f991914db6b8bde8cf0980
("cpu: Defer smpboot kthread unparking until CPU known to scheduler")

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

Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
kernel/cpu.c

index 94bbe4695232cd2fa2e9c0def32de7fa27644971..b4e940d89087c6b33319664104dda77d363a71c0 100644 (file)
@@ -479,7 +479,7 @@ static struct notifier_block smpboot_thread_notifier = {
        .priority = CPU_PRI_SMPBOOT,
 };
 
-void __cpuinit smpboot_thread_init(void)
+void smpboot_thread_init(void)
 {
        register_cpu_notifier(&smpboot_thread_notifier);
 }