/* OK, I lied. There are three "thread local storage" GDT entries which change on every context switch (these three entries are how glibc implements __thread variables). So we have a hypercall specifically for this case.  */
static void lguest_load_tls(struct thread_struct *t, unsigned int cpu)
/* OK, I lied. There are three "thread local storage" GDT entries which change on every context switch (these three entries are how glibc implements __thread variables). So we have a hypercall specifically for this case.  */
static void lguest_load_tls(struct thread_struct *t, unsigned int cpu)
{
	lazy_load_gs(0);
	lazy_hcall2(LHCALL_LOAD_TLS, __pa(&t->tls_array), cpu);
}