提交 08b8a99b 编写于 作者: H Helge Deller

parisc: Move start_parisc() into init section

Signed-off-by: NHelge Deller <deller@gmx.de>
上级 e77900ab
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <linux/export.h> #include <linux/export.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/sched/clock.h> #include <linux/sched/clock.h>
#include <linux/start_kernel.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/sections.h> #include <asm/sections.h>
...@@ -398,9 +399,8 @@ static int __init parisc_init(void) ...@@ -398,9 +399,8 @@ static int __init parisc_init(void)
} }
arch_initcall(parisc_init); arch_initcall(parisc_init);
void start_parisc(void) void __init start_parisc(void)
{ {
extern void start_kernel(void);
extern void early_trap_init(void); extern void early_trap_init(void);
int ret, cpunum; int ret, cpunum;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册