MFi386: revision 1.653.

This commit is contained in:
nyan 2007-05-30 14:36:20 +00:00
parent 0bb486d483
commit 1c79958df3

View File

@ -1171,6 +1171,7 @@ exec_setregs(td, entry, stack, ps_strings)
mtx_lock_spin(&dt_lock);
if (td->td_proc->p_md.md_ldt)
user_ldt_free(td);
else
mtx_unlock_spin(&dt_lock);
bzero((char *)regs, sizeof(struct trapframe));