/* For a single GDT entry which changes, we do the lazy thing: alter our GDT, then tell the Host to reload the entire thing. This operation is so rare that this naive implementation is reasonable.  */
static void lguest_write_gdt_entry(struct desc_struct *dt, int entrynum, const void *desc, int type)
/* For a single GDT entry which changes, we do the lazy thing: alter our GDT, then tell the Host to reload the entire thing. This operation is so rare that this naive implementation is reasonable.  */
static void lguest_write_gdt_entry(struct desc_struct *dt, int entrynum, const void *desc, int type)
{
	native_write_gdt_entry(dt, entrynum, desc, type);
	kvm_hypercall3(LHCALL_LOAD_GDT_ENTRY, entrynum,
		       dt[entrynum].a, dt[entrynum].b);
}