aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/paravirt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/paravirt.h')
-rw-r--r--include/asm-x86/paravirt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h
index be7b934f6c54..d1780e32722e 100644
--- a/include/asm-x86/paravirt.h
+++ b/include/asm-x86/paravirt.h
@@ -101,7 +101,7 @@ struct pv_cpu_ops {
101 int entrynum, u32 low, u32 high); 101 int entrynum, u32 low, u32 high);
102 void (*write_idt_entry)(struct desc_struct *, 102 void (*write_idt_entry)(struct desc_struct *,
103 int entrynum, u32 low, u32 high); 103 int entrynum, u32 low, u32 high);
104 void (*load_esp0)(struct tss_struct *tss, struct thread_struct *t); 104 void (*load_sp0)(struct tss_struct *tss, struct thread_struct *t);
105 105
106 void (*set_iopl_mask)(unsigned mask); 106 void (*set_iopl_mask)(unsigned mask);
107 107
@@ -449,10 +449,10 @@ static inline int paravirt_enabled(void)
449 return pv_info.paravirt_enabled; 449 return pv_info.paravirt_enabled;
450} 450}
451 451
452static inline void load_esp0(struct tss_struct *tss, 452static inline void load_sp0(struct tss_struct *tss,
453 struct thread_struct *thread) 453 struct thread_struct *thread)
454{ 454{
455 PVOP_VCALL2(pv_cpu_ops.load_esp0, tss, thread); 455 PVOP_VCALL2(pv_cpu_ops.load_sp0, tss, thread);
456} 456}
457 457
458#define ARCH_SETUP pv_init_ops.arch_setup(); 458#define ARCH_SETUP pv_init_ops.arch_setup();