aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/lguest
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lguest')
-rw-r--r--arch/x86/lguest/boot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index b50c8ad25ab..a63373759f0 100644
--- a/arch/x86/lguest/boot.c
+++ b/arch/x86/lguest/boot.c
@@ -262,10 +262,10 @@ static void lguest_load_gdt(const struct desc_ptr *desc)
262/* For a single GDT entry which changes, we do the lazy thing: alter our GDT, 262/* For a single GDT entry which changes, we do the lazy thing: alter our GDT,
263 * then tell the Host to reload the entire thing. This operation is so rare 263 * then tell the Host to reload the entire thing. This operation is so rare
264 * that this naive implementation is reasonable. */ 264 * that this naive implementation is reasonable. */
265static void lguest_write_gdt_entry(struct desc_struct *dt, 265static void lguest_write_gdt_entry(struct desc_struct *dt, int entrynum,
266 int entrynum, u32 low, u32 high) 266 const void *desc, int type)
267{ 267{
268 write_dt_entry(dt, entrynum, low, high); 268 native_write_gdt_entry(dt, entrynum, desc, type);
269 hcall(LHCALL_LOAD_GDT, __pa(dt), GDT_ENTRIES, 0); 269 hcall(LHCALL_LOAD_GDT, __pa(dt), GDT_ENTRIES, 0);
270} 270}
271 271