mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 06:14:27 +00:00
Fix compiling error.
This commit is contained in:
parent
78bec5fa2f
commit
c168150cf4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170390
|
@ -371,7 +371,6 @@ cpu_switch(struct thread *old, struct thread *new, struct mtx *mtx)
|
|||
oldpcb->pcb_current_pmap =
|
||||
pmap_switch(newpcb->pcb_current_pmap);
|
||||
PCPU_SET(curthread, new);
|
||||
PCPU_SET(curtid, new->td_tid);
|
||||
#ifdef COMPAT_IA32
|
||||
ia32_restorectx(newpcb);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue