Home
last modified time | relevance | path

Searched refs:sel_pre_sched (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/x86/
H A Dfsgsbase.c361 unsigned short sel_pre_sched, sel_post_sched; in set_gs_and_switch_to() local
385 sel_pre_sched = force_sel; in set_gs_and_switch_to()
394 asm volatile ("mov %%gs, %0" : "=rm" (sel_pre_sched)); in set_gs_and_switch_to()
405 if (base == local && sel_pre_sched == sel_post_sched) { in set_gs_and_switch_to()
407 sel_pre_sched, local); in set_gs_and_switch_to()
408 } else if (base == local && sel_pre_sched >= 1 && sel_pre_sched <= 3 && in set_gs_and_switch_to()
415 sel_pre_sched, local, sel_post_sched, base); in set_gs_and_switch_to()
419 sel_pre_sched, local, sel_post_sched, base); in set_gs_and_switch_to()