summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-09-17 21:17:10 +0200
committerHelge Deller <deller@gmx.de>2017-09-22 19:46:26 +0200
commit08b8a99b2c5ea8da4d3dd55056881d12baea1e04 (patch)
tree85a695cc5f86c417fe629804b7199678660d7f94
parentparisc: Stop unwinding at start of stack (diff)
downloadlinux-08b8a99b2c5ea8da4d3dd55056881d12baea1e04.tar.xz
linux-08b8a99b2c5ea8da4d3dd55056881d12baea1e04.zip
parisc: Move start_parisc() into init section
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--arch/parisc/kernel/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c
index dee6f9d6a153..a31e91c1782b 100644
--- a/arch/parisc/kernel/setup.c
+++ b/arch/parisc/kernel/setup.c
@@ -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;