From c168150cf4b8927c8728dd0abc6dcfe7a402e564 Mon Sep 17 00:00:00 2001 From: David Xu Date: Thu, 7 Jun 2007 01:53:29 +0000 Subject: [PATCH] Fix compiling error. --- sys/ia64/ia64/machdep.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c index d457d1c4561e..506de60fca29 100644 --- a/sys/ia64/ia64/machdep.c +++ b/sys/ia64/ia64/machdep.c @@ -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