Skip to contentSkip to conversation

xen/x86: Drop unused declarations from processor.h

PATCH New Andrew Cooper 1 participant 1 message Oct 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/x86: Drop unused declarations from processor.h

---
CC: Jan Beulich <[email protected]>

---
 xen/arch/x86/domain.c           |    1 -
 xen/include/asm-x86/processor.h |    5 -----
 2 files changed, 6 deletions(-)
xen/arch/x86/domain.c +0 -1
index 7ca9b93..91c04f8 100644
@@ -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);
xen/include/asm-x86/processor.h +0 -5
index f507f5e..fcfa7dd 100644
@@ -219,7 +219,6 @@ 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 @@ static always_inline void set_ist(idt_entry_t *idt, unsigned long ist)
 
 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);
Signature · 1 line
1.7.10.4