mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
In linux_set_thread_area(), mark pcb as PCB_GS32BIT. This was missed
when r180992 was committed. Reviewed by: peter MFC after: 1 week
This commit is contained in:
parent
575a30d883
commit
7b1608fde1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182866
@ -1354,7 +1354,7 @@ linux_set_thread_area(struct thread *td,
|
||||
td->td_pcb->pcb_gsbase = (register_t)info.base_addr;
|
||||
td->td_pcb->pcb_gs32sd = gdt[GUGS32_SEL] = sd;
|
||||
td->td_pcb->pcb_gs32p = &gdt[GUGS32_SEL];
|
||||
td->td_pcb->pcb_flags |= PCB_32BIT;
|
||||
td->td_pcb->pcb_flags |= PCB_32BIT | PCB_GS32BIT;
|
||||
wrmsr(MSR_KGSBASE, td->td_pcb->pcb_gsbase);
|
||||
critical_exit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user