MFi386: revision 1.653.

This commit is contained in:
Yoshihiro Takahashi 2007-05-30 14:36:20 +00:00
parent 783a05dfd3
commit 2e1822c16a

View File

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