Browse Source

x86: remove duplicate start_kernel declaration

start_kernel is already declared in a generic header file.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Thomas Gleixner 17 năm trước cách đây
mục cha
commit
eaf76e8b93
2 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 0
      arch/x86/kernel/head64.c
  2. 0 2
      include/asm-x86/proto.h

+ 1 - 0
arch/x86/kernel/head64.c

@@ -10,6 +10,7 @@
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/percpu.h>
+#include <linux/start_kernel.h>
 
 #include <asm/processor.h>
 #include <asm/proto.h>

+ 0 - 2
include/asm-x86/proto.h

@@ -8,8 +8,6 @@
 struct cpuinfo_x86; 
 struct pt_regs;
 
-extern void start_kernel(void);
-
 extern void early_idt_handler(void);
 
 extern void init_memory_mapping(unsigned long start, unsigned long end);