Browse Source

x86/processor: Remove two unused function declarations

early_trap_init() and cpu_set_gdt() have been removed, so remove the stale
declarations as well.

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: keescook@chromium.org
Cc: luto@kernel.org
Cc: hpa@zytor.com
Cc: bp@suse.de
Cc: kirill.shutemov@linux.intel.com
Link: https://lkml.kernel.org/r/20180404064527.10562-1-douly.fnst@cn.fujitsu.com
Dou Liyang 7 years ago
parent
commit
451cf3ca7d
1 changed files with 0 additions and 2 deletions
  1. 0 2
      arch/x86/include/asm/processor.h

+ 0 - 2
arch/x86/include/asm/processor.h

@@ -749,13 +749,11 @@ enum idle_boot_override {IDLE_NO_OVERRIDE=0, IDLE_HALT, IDLE_NOMWAIT,
 extern void enable_sep_cpu(void);
 extern void enable_sep_cpu(void);
 extern int sysenter_setup(void);
 extern int sysenter_setup(void);
 
 
-extern void early_trap_init(void);
 void early_trap_pf_init(void);
 void early_trap_pf_init(void);
 
 
 /* Defined in head.S */
 /* Defined in head.S */
 extern struct desc_ptr		early_gdt_descr;
 extern struct desc_ptr		early_gdt_descr;
 
 
-extern void cpu_set_gdt(int);
 extern void switch_to_new_gdt(int);
 extern void switch_to_new_gdt(int);
 extern void load_direct_gdt(int);
 extern void load_direct_gdt(int);
 extern void load_fixmap_gdt(int);
 extern void load_fixmap_gdt(int);