diff --git a/sys/arch/i386/i386/sys_machdep.c b/sys/arch/i386/i386/sys_machdep.c index 8131fc089031..9cee063fa88d 100644 --- a/sys/arch/i386/i386/sys_machdep.c +++ b/sys/arch/i386/i386/sys_machdep.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91 - * $Id: sys_machdep.c,v 1.9 1994/01/11 19:19:05 brezak Exp $ + * $Id: sys_machdep.c,v 1.10 1994/04/24 22:49:05 mycroft Exp $ */ #include @@ -293,7 +293,8 @@ i386_set_ldt(p, args, retval) } if (!error) { *retval = uap->start; - need_resched(); + if (p == curproc) + set_user_ldt(pcb); } splx(s);