From: Andrew Cooper Date: Tue, 13 Oct 2015 15:19:07 +0000 (+0200) Subject: x86: drop unused declarations from processor.h X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ed740187a5d8a7fcec2116c410d850f1b54a0603;p=people%2Fjulieng%2Fxen-unstable.git x86: drop unused declarations from processor.h Signed-off-by: Andrew Cooper --- diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 7ca9b938b9..91c04f8360 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -1475,7 +1475,6 @@ static void paravirt_ctxt_switch_to(struct vcpu *v) { unsigned long cr4; - set_int80_direct_trap(v); switch_kernel_stack(v); cr4 = pv_guest_cr4_to_real_cr4(v); diff --git a/xen/include/asm-x86/processor.h b/xen/include/asm-x86/processor.h index f507f5ed2f..fcfa7ddc5d 100644 --- a/xen/include/asm-x86/processor.h +++ b/xen/include/asm-x86/processor.h @@ -219,7 +219,6 @@ extern void identify_cpu(struct cpuinfo_x86 *); extern void setup_clear_cpu_cap(unsigned int); extern void print_cpu_info(unsigned int cpu); extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c); -extern void dodgy_tsc(void); extern void detect_extended_topology(struct cpuinfo_x86 *c); @@ -471,10 +470,6 @@ DECLARE_PER_CPU(struct tss_struct, init_tss); extern void init_int80_direct_trap(struct vcpu *v); -#define set_int80_direct_trap(_ed) ((void)0) - -extern int gpf_emulate_4gb(struct cpu_user_regs *regs); - extern void write_ptbase(struct vcpu *v); void destroy_gdt(struct vcpu *d);