Skip to content

Commit 451cf3c

Browse files
douliyangKAGA-KOKO
authored andcommitted
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
1 parent 10daf10 commit 451cf3c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎arch/x86/include/asm/processor.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,13 +749,11 @@ enum idle_boot_override {IDLE_NO_OVERRIDE=0, IDLE_HALT, IDLE_NOMWAIT,
749749
extern void enable_sep_cpu(void);
750750
extern int sysenter_setup(void);
751751

752-
extern void early_trap_init(void);
753752
void early_trap_pf_init(void);
754753

755754
/* Defined in head.S */
756755
extern struct desc_ptr early_gdt_descr;
757756

758-
extern void cpu_set_gdt(int);
759757
extern void switch_to_new_gdt(int);
760758
extern void load_direct_gdt(int);
761759
extern void load_fixmap_gdt(int);

0 commit comments

Comments
 (0)