summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-09-17 22:17:10 +0300
committerHelge Deller <deller@gmx.de>2017-09-22 20:46:26 +0300
commit08b8a99b2c5ea8da4d3dd55056881d12baea1e04 (patch)
tree85a695cc5f86c417fe629804b7199678660d7f94 /arch
parente77900abfd8be4e207412d8b7752dbb9838e2571 (diff)
downloadlinux-08b8a99b2c5ea8da4d3dd55056881d12baea1e04.tar.xz
parisc: Move start_parisc() into init section
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-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;