aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/paravirt.h
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:31:13 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:13 -0500
commit75b8bb3e56ca09a467fbbe5229bc68627f7445be (patch)
treeb0eba1d65eb2022fbda902c99edd066b1b3f34da /include/asm-x86/paravirt.h
parent014b15be30c04622d130946ab7c0a9101b523a8a (diff)
x86: change write_ldt_entry signature
this patch changes the signature of write_ldt_entry. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> CC: Zachary Amsden <zach@vmware.com> CC: Jeremy Fitzhardinge <Jeremy.Fitzhardinge.citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/paravirt.h')
-rw-r--r--include/asm-x86/paravirt.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h
index 3f2abf295e2a..4f23f434a1f3 100644
--- a/include/asm-x86/paravirt.h
+++ b/include/asm-x86/paravirt.h
@@ -96,8 +96,8 @@ struct pv_cpu_ops {
96 void (*set_ldt)(const void *desc, unsigned entries); 96 void (*set_ldt)(const void *desc, unsigned entries);
97 unsigned long (*store_tr)(void); 97 unsigned long (*store_tr)(void);
98 void (*load_tls)(struct thread_struct *t, unsigned int cpu); 98 void (*load_tls)(struct thread_struct *t, unsigned int cpu);
99 void (*write_ldt_entry)(struct desc_struct *, 99 void (*write_ldt_entry)(struct desc_struct *ldt, int entrynum,
100 int entrynum, u32 low, u32 high); 100 const void *desc);
101 void (*write_gdt_entry)(struct desc_struct *, 101 void (*write_gdt_entry)(struct desc_struct *,
102 int entrynum, const void *desc, int size); 102 int entrynum, const void *desc, int size);
103 void (*write_idt_entry)(gate_desc *, 103 void (*write_idt_entry)(gate_desc *,
@@ -660,9 +660,11 @@ static inline void load_TLS(struct thread_struct *t, unsigned cpu)
660{ 660{
661 PVOP_VCALL2(pv_cpu_ops.load_tls, t, cpu); 661 PVOP_VCALL2(pv_cpu_ops.load_tls, t, cpu);
662} 662}
663static inline void write_ldt_entry(void *dt, int entry, u32 low, u32 high) 663
664static inline void write_ldt_entry(struct desc_struct *dt, int entry,
665 const void *desc)
664{ 666{
665 PVOP_VCALL4(pv_cpu_ops.write_ldt_entry, dt, entry, low, high); 667 PVOP_VCALL3(pv_cpu_ops.write_ldt_entry, dt, entry, desc);
666} 668}
667 669
668static inline void write_gdt_entry(struct desc_struct *dt, int entry, 670static inline void write_gdt_entry(struct desc_struct *dt, int entry,