Fix compiling error.

This commit is contained in:
David Xu 2007-06-07 01:53:29 +00:00
parent 78bec5fa2f
commit c168150cf4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170390

View File

@ -371,7 +371,6 @@ cpu_switch(struct thread *old, struct thread *new, struct mtx *mtx)
oldpcb->pcb_current_pmap = oldpcb->pcb_current_pmap =
pmap_switch(newpcb->pcb_current_pmap); pmap_switch(newpcb->pcb_current_pmap);
PCPU_SET(curthread, new); PCPU_SET(curthread, new);
PCPU_SET(curtid, new->td_tid);
#ifdef COMPAT_IA32 #ifdef COMPAT_IA32
ia32_restorectx(newpcb); ia32_restorectx(newpcb);
#endif #endif