parisc: Move start_parisc() into init section
authorHelge Deller <deller@gmx.de>
Sun, 17 Sep 2017 19:17:10 +0000 (21:17 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 22 Sep 2017 17:46:26 +0000 (19:46 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/setup.c

index dee6f9d6a153ce461ec816e6caeb5a38dd3bb9f2..a31e91c1782b2e17510ad1cb64414472a3c63d4b 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/clock.h>
+#include <linux/start_kernel.h>
 
 #include <asm/processor.h>
 #include <asm/sections.h>
@@ -398,9 +399,8 @@ static int __init parisc_init(void)
 }
 arch_initcall(parisc_init);
 
-void start_parisc(void)
+void __init start_parisc(void)
 {
-       extern void start_kernel(void);
        extern void early_trap_init(void);
 
        int ret, cpunum;